Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 53afa639 in mainline


Ignore:
Timestamp:
2019-07-04T13:36:57Z (16 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
b781cc49
Parents:
9675296
Message:

Define nullptr_t more consistently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/cstddef

    r9675296 r53afa639  
    3232#include <stddef.h>
    3333
    34 #ifdef __clang__
    35 typedef decltype(nullptr) nullptr_t;
    36 #endif
    37 
    3834namespace std
    3935{
    40     using ::nullptr_t;
     36    using nullptr_t = decltype(nullptr);
    4137    using ::size_t;
    4238    using ::ptrdiff_t;
Note: See TracChangeset for help on using the changeset viewer.