Improving C and C++ header compatibility261 (3/22/2011 1:30:11 PM)
[Resent after 80+ hours.]
It's quite common to want to write a header for a library written in C
that can be used from both C and C++. Conceptually, this is quite
straightforward, but in practice it usu... Richard
Scoped enums: default value285 (3/19/2011 1:22:27 PM)
Hi,
is the following correct?
enum class E {E2=2,E3,E4};
E e = E();
assert(int(e)==0);
If yes, it is quite surprising that the default value of an enum
doesn't match any one of the enumerators.... viboes
DR: How do implicit exception declarations (dis)allow exceptions?063 (3/20/2011 2:20:44 PM)
[except.spec]p14 says:
"f shall allow all exceptions if any function it directly invokes
allows all exceptions, and f shall allow no exceptions if every
function it directly invokes allows no exceptions."... CornedBee
Re: non-orthogonal design of lambda expressions061 (3/19/2011 1:21:36 PM)
[2nd try after > 24 h]
Am 17.03.2011 19:20, schrieb Edward Diener:
>
> On 3/12/2011 10:27 AM, Daniel Kr=FCgler wrote:
>
>> I do not understand why, given:
>>>
>>> Class template: template<class X,cla... ISO