Changeset 53afa639 in mainline


Ignore:
Timestamp:
2019-07-04T13:36:57Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.