Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Anonymous temporaries and class template argument deduction - gcc vs clang

Does reinterpret_casting std::aligned_storage* to T* without std::launder violate strict-aliasing rules? [duplicate]

Why is int(a) an expression and int(unsigned(a)) a type-id in the example below?

c++ language-lawyer

Template template argument causes compiler error under Clang but not GCC [duplicate]

Is overflow of an unsigned bit field guaranteed to wrap-around?

Default template argument of a class template has no effect if placed after the definition of that class template

c++ language-lawyer

Which guarantees does the C++ standard have when it comes to issuing diagnostic messages?

c++ language-lawyer

Alias of a template. Who's right?

c++ language-lawyer

Can I define a constexpr anonymous/unnamed variable?

How come a new-expression can correctly produce the pointer type, even though it should return void*? [duplicate]

Are captureless lambdas structural types?

name lookup for typedef is buggy in GNU compiler?

As far as I can tell, this code should not compile, according to §5.19/3 and §5.19/2 in C++14

Should decltype on a template value parameter trigger a SFINAE context?

Modifying a container within std::for_each

c++ language-lawyer

Typo: bool to int conversion induced error in std::ifstream under Linux

std::atomic in a union with another character

Why unique_ptr with custom deleter won't work for nullptr, while shared_ptr does?

Does giving data an effective type count as a side-effect?

Why are literals not const (except strings)?

c++ language-lawyer