Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626814
defines.h.in
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
710 B
Referenced Files
None
Subscribers
None
defines.h.in
View Options
#ifndef _rtech1_init_h
#define _rtech1_init_h
#define HAS_CXX11 %has_cxx11%
#if HAS_CXX11 == 1
#elif
/*
If no cxx11 support
fake nullptr:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf - page 3
*/
const // this is a const object...
class {
public:
template<class T> // convertible to any type
operator T*() const // of null non-member
{ return 0; } // pointer...
template<class C, class T> // or any type of null
operator T C::*() const // member pointer...
{ return 0; }
private:
void operator&() const; // whose address can't be taken
} nullptr = {}; // and whose name is nullptr
#endif
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 1:13 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
133375
Default Alt Text
defines.h.in (710 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline