- MSVC++-problem - 4 Updates
- Merry Christmas! - 5 Updates
- A controlled access problem - 2 Updates
- Happy Winterval! - 1 Update
- Merry Christmas 2017 - 1 Update
Bonita Montero <Bonita.Montero@gmail.com>: Dec 24 07:04PM +0100 I've got a problem with MSVC++. The following code doesn't compile: struct X { struct B; struct A { int dummy; operator B(); }; struct B { int dummy; }; }; X::A::operator B() { B b; return b.dummy = dummy, b; } If I write ... X::A::operator X::B() ... the code does compile! And if I have a template-version: template<typename T> struct X { struct B; struct A { T dummy; operator B(); }; struct B { T dummy; }; }; template<typename T> X<T>::A::operator X<T>::B() { B b; return b.dummy = dummy, b; } ... the code doesn't even compile with the prefix "X<T>::" But if i prefix "X<T>::" with typename ... template<typename T> X<T>::A::operator typename X<T>::B() ... the code does compile! As my Linux-pc has a malfunctional graphics-card, I can't verify which code does compile with gcc and clang. And this wouldn't even tell me which variants are conforming and which are non-conforming. |
"Öö Tiib" <ootiib@hot.ee>: Dec 24 12:17PM -0800 On Sunday, 24 December 2017 20:05:00 UTC+2, Bonita Montero wrote: > If I write ... > X::A::operator X::B() > ... the code does compile! I am strongly convinced that both should compile. > As my Linux-pc has a malfunctional graphics-card, I can't verify which > code does compile with gcc and clang. And this wouldn't even tell me > which variants are conforming and which are non-conforming. Here I trust that even ... template<typename T> X<T>::A::operator B() {/* and what was in it */} ... should compile. Pehaps MSVC has somehow different understanding of implicit qualification and dependent names. Or may be it is again that c++/cli (that they made and that no one uses) blowing up otherwise. |
Bonita Montero <Bonita.Montero@gmail.com>: Dec 24 10:03PM +0100 >> X::A::operator X::B() >> ... the code does compile! > I am strongly convinced that both should compile. I found some online-compilers for clang and gcc, and both accept the simplified version ("X::A::operator B()"). > ... should compile. Pehaps MSVC has somehow different understanding of > implicit qualification and dependent names. Or may be it is again that > c++/cli (that they made and that no one uses) blowing up otherwise. Right, both online-compilers for gcc and clang accepted this version. |
James Kuyper <jameskuyper@verizon.net>: Dec 24 04:33PM -0500 On 12/24/2017 01:04 PM, Bonita Montero wrote: > I've got a problem with MSVC++. > The following code doesn't compile: Saying that something doesn't compile is nearly useless - you should provide the full text of the error message(s) produced by the compiler, so that we can better understand what it was your compiler objects to. |
woodbrian77@gmail.com: Dec 23 03:33PM -0800 On Saturday, December 23, 2017 at 4:49:30 PM UTC-6, Alf P. Steinbach wrote: > Cheers! Thanks, Alf. I bought a much newer car than my old one yesterday. The car may help me to fulfill my pledge to travel to a place where there's a group that would like to hear about what I've been working on. And am still willing to travel overseas if need be. Brian Ebenezer Enterprises http://webEbenezer.net |
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Dec 23 03:58PM -0800 On 12/23/2017 2:49 PM, Alf P. Steinbach wrote: > Cheers! Merry Christmas indeed. Thank you. |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 23 04:14PM -0800 On Saturday, December 23, 2017 at 5:49:30 PM UTC-5, Alf P. Steinbach wrote: > Cheers! Merry Christmas, Alf, and all! -- Rick C. Hodgin |
Jerry Stuckle <jstucklex@attglobal.net>: Dec 23 11:20PM -0500 On 12/23/2017 5:49 PM, Alf P. Steinbach wrote: > Cheers! > - Alf And a very Merry Christmas to you, Alf. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ================== |
Manfred <noname@invalid.add>: Dec 24 04:21PM +0100 On 12/23/2017 11:49 PM, Alf P. Steinbach wrote: > Cheers! > - Alf Thanks, And Merry Christmas to you and all! |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 23 04:13PM -0800 > Marry Christmas to all and one Happy New Year To you as well. -- Rick C. Hodgin |
Jerry Stuckle <jstucklex@attglobal.net>: Dec 23 11:19PM -0500 > Marry Christmas to all and one Happy New Year Merry Christmas! May yours be a good one. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ================== |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Dec 24 12:40AM Happy Winterval to everyone in the Northern Hemisphere! To those in the South, Happy Holidays! /Flibble -- "Suppose it's all true, and you walk up to the pearly gates, and are confronted by God," Bryne asked on his show The Meaning of Life. "What will Stephen Fry say to him, her, or it?" "I'd say, bone cancer in children? What's that about?" Fry replied. "How dare you? How dare you create a world to which there is such misery that is not our fault. It's not right, it's utterly, utterly evil." "Why should I respect a capricious, mean-minded, stupid God who creates a world that is so full of injustice and pain. That's what I would say." |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 23 04:33PM -0800 Why do Christians celebrate Christmas? Jesus likely was not born on December 25, but it is a day to remember the time God sent His own Son into the world to save us from our sin. It was God making peace with man, rather than condemning him in his sin. The event was heralded by God with a live chorus of angels lighting up the night, appearing not before royalty or governors, but to the night workers, to shepherds watching over their flocks. The angels proclaimed Mary giving birth to Jesus, who would save all mankind from their sin. https://www.biblegateway.com/passage/?search=Luke+2&version=KJV The enemy has attempted to pervert the day, and associate it with unholy things. He is trying to make it easy for people to discount the day as some heinous thing with evil roots. But none of those attempts change the true gift of Christ (Messiah, Savior) given to man by God. So don't let things the enemy's done in this world keep you from the truth. Seek to know Jesus. Seek to come to the full truth. ----- You can be reconciled to God today. Jesus has already done everything. All we have to do is come to Him and ask forgiveness to be forgiven and to gain eternal life. He wants to do this. It's why you hear this message from men and women like me. We proclaim the "gospel" (meaning "good news") that Jesus has come, has triumphed at the cross, has resurrected from death, and is able to save us now too. Do you have sin? Are you guilty before God? Ask Jesus to forgive you and be set free from judgment and gain the Holy Spirit, and eternal life, as Jesus restores that which sin took away. Consider your future. Consider your sin. Ask Jesus to forgive you today and secure your place in His Kingdom Paradise. Jesus loves you. It's why salvation is free. I love you. It why I teach you about Him. Love yourself, and provide for your future. -- Rick C. Hodgin |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment