@StackedCrooked On the upside, it literally went down about five seconds before I posted that message, since I was playing with my tutorials thingies and submitting various examples.
@Xeo As a side effect, I'd have to get around to finally implementing that improved error handling, else for abstract bases it would fail when you try to construct base like that.
You found out that base := base(...), without special hacks, causes trouble for abstract bases. You acknowledged that base := (...) and base := ... scream "HACK" aswell.
so maybe you should just step away from := for bases
well, I'm not terri-happy with members either, they have a similar problem.
even though you don't have the issue of abstract members, people will bitch about performance of moves if you don't guarantee elision, and duplicating the type won't win many friends.
I could think about using tuples that I unpack, I guess.
something like base := { a, b, c }.
problem is I kinda just swapped one special case for another, since unpacking is not the current behaviour of tuples.
I guess that if I create a type that holds three int*s, then it should be randomly totally the same type as std::vector<int>, depending on the implementation details of std::vector.
Short answer: because the standard says so.
Long answer: that's not an assignment, but an initialisation, and it's ignored because the standard says so.
@Jefffrey For the immediate future, it'll be something like const char*. For the longer future, it depends on what library features I end up with, but I intend that it'll be a proper string thing, not const char*.
> Asus has, I am sad to report, abandoned its motto, "Rock Solid. Heart Touching". At CeBIT this year, the PC manufacturer unveiled the far less evocative "Inspiring Innovation. Persistent Perfection". Let's see how the rest of the press conference goes.
this was in 2009
the only ASUS components I've ever had were bought in 2007
@LightnessRacesinOrbit so maybe that's why I remember the slogan
@redaa anyone writing C without <stdbool.h> should feel bad enough they are writing in C, and then worse because they are ignoring a very useful header