Changeset 7bbf91e in mainline for uspace/lib/cpp/include/__bits


Ignore:
Timestamp:
2018-07-05T21:41:24Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e53e83d
Parents:
fc15120
git-author:
Dzejrou <dzejrou@…> (2018-05-16 18:35:17)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
Message:

cpp: changed internal to bits to avoid include space pollusion, fixed old std::hel:: bugs in files that weren't touched since

Location:
uspace/lib/cpp/include/__bits
Files:
57 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/abi.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
     29#include <cstddef>
    2930#include <cstdint>
    3031#include <typeinfo>
  • uspace/lib/cpp/include/__bits/builtins.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_BUILTINS
    30 #define LIBCPP_INTERNAL_BUILTINS
     29#ifndef LIBCPP_BITS_BUILTINS
     30#define LIBCPP_BITS_BUILTINS
    3131
    3232/**
  • uspace/lib/cpp/include/__bits/common.hpp

    rfc15120 r7bbf91e  
    1 #ifndef LIBCPP_INTERNAL_COMMON
    2 #define LIBCPP_INTERNAL_COMMON
     1#ifndef LIBCPP_BITS_COMMON
     2#define LIBCPP_BITS_COMMON
    33
    44/**
  • uspace/lib/cpp/include/__bits/functional/arithmetic_operations.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_FUNCTIONAL_ARITHMETIC_OPERATIONS
    30 #define LIBCPP_INTERNAL_FUNCTIONAL_ARITHMETIC_OPERATIONS
    31 
    32 #include <internal/utility/forward_move.hpp>
     29#ifndef LIBCPP_BITS_FUNCTIONAL_ARITHMETIC_OPERATIONS
     30#define LIBCPP_BITS_FUNCTIONAL_ARITHMETIC_OPERATIONS
     31
     32#include <__bits/utility/forward_move.hpp>
    3333#include <type_traits>
    3434
  • uspace/lib/cpp/include/__bits/functional/bind.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_FUNCTIONAL_BIND
    30 #define LIBCPP_INTERNAL_FUNCTIONAL_BIND
    31 
    32 #include <internal/functional/function.hpp>
    33 #include <internal/functional/invoke.hpp>
    34 #include <internal/functional/reference_wrapper.hpp>
     29#ifndef LIBCPP_BITS_FUNCTIONAL_BIND
     30#define LIBCPP_BITS_FUNCTIONAL_BIND
     31
     32#include <__bits/functional/function.hpp>
     33#include <__bits/functional/invoke.hpp>
     34#include <__bits/functional/reference_wrapper.hpp>
    3535#include <tuple>
    3636#include <type_traits>
  • uspace/lib/cpp/include/__bits/functional/conditional_function_typedefs.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_FUNCTION_CONDITIONAL_FUNCTION_TYPEDEFS
    30 #define LIBCPP_INTERNAL_FUNCTION_CONDITIONAL_FUNCTION_TYPEDEFS
     29#ifndef LIBCPP_BITS_FUNCTION_CONDITIONAL_FUNCTION_TYPEDEFS
     30#define LIBCPP_BITS_FUNCTION_CONDITIONAL_FUNCTION_TYPEDEFS
    3131
    3232namespace std::aux
  • uspace/lib/cpp/include/__bits/functional/function.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_FUNCTIONAL_FUNCTION
    30 #define LIBCPP_INTERNAL_FUNCTIONAL_FUNCTION
    31 
    32 #include <internal/functional/conditional_function_typedefs.hpp>
    33 #include <internal/functional/reference_wrapper.hpp>
     29#ifndef LIBCPP_BITS_FUNCTIONAL_FUNCTION
     30#define LIBCPP_BITS_FUNCTIONAL_FUNCTION
     31
     32#include <__bits/functional/conditional_function_typedefs.hpp>
     33#include <__bits/functional/reference_wrapper.hpp>
    3434#include <typeinfo>
    3535#include <type_traits>
  • uspace/lib/cpp/include/__bits/functional/hash.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_FUNCTIONAL_HASH
    30 #define LIBCPP_INTERNAL_FUNCTIONAL_HASH
     29#ifndef LIBCPP_BITS_FUNCTIONAL_HASH
     30#define LIBCPP_BITS_FUNCTIONAL_HASH
    3131
    3232#include <cstdlib>
  • uspace/lib/cpp/include/__bits/functional/invoke.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_FUNCTIONAL_INVOKE
    30 #define LIBCPP_INTERNAL_FUNCTIONAL_INVOKE
     29#ifndef LIBCPP_BITS_FUNCTIONAL_INVOKE
     30#define LIBCPP_BITS_FUNCTIONAL_INVOKE
    3131
    32 #include <internal/utility/declval.hpp>
    33 #include <internal/utility/forward_move.hpp>
     32#include <__bits/utility/declval.hpp>
     33#include <__bits/utility/forward_move.hpp>
    3434
    3535namespace std
  • uspace/lib/cpp/include/__bits/functional/reference_wrapper.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_FUNCTIONAL_REFERENCE_WRAPPER
    30 #define LIBCPP_INTERNAL_FUNCTIONAL_REFERENCE_WRAPPER
     29#ifndef LIBCPP_BITS_FUNCTIONAL_REFERENCE_WRAPPER
     30#define LIBCPP_BITS_FUNCTIONAL_REFERENCE_WRAPPER
    3131
    32 #include <internal/functional/conditional_function_typedefs.hpp>
    33 #include <internal/functional/invoke.hpp>
     32#include <__bits/functional/conditional_function_typedefs.hpp>
     33#include <__bits/functional/invoke.hpp>
    3434#include <type_traits>
    3535
  • uspace/lib/cpp/include/__bits/hash_table.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_HASH_TABLE
    30 #define LIBCPP_INTERNAL_HASH_TABLE
     29#ifndef LIBCPP_BITS_HASH_TABLE
     30#define LIBCPP_BITS_HASH_TABLE
    3131
    3232#include <cstdlib>
    33 #include <internal/list.hpp>
    34 #include <internal/key_extractors.hpp>
    35 #include <internal/hash_table_iterators.hpp>
    36 #include <internal/hash_table_policies.hpp>
     33#include <__bits/list.hpp>
     34#include <__bits/key_extractors.hpp>
     35#include <__bits/hash_table_iterators.hpp>
     36#include <__bits/hash_table_policies.hpp>
    3737#include <iterator>
    3838#include <limits>
  • uspace/lib/cpp/include/__bits/hash_table_bucket.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_HASH_TABLE_BUCKET
    30 #define LIBCPP_INTERNAL_HASH_TABLE_BUCKET
     29#ifndef LIBCPP_BITS_HASH_TABLE_BUCKET
     30#define LIBCPP_BITS_HASH_TABLE_BUCKET
    3131
    32 #include <internal/list.hpp>
     32#include <__bits/list.hpp>
    3333
    3434namespace std::aux
  • uspace/lib/cpp/include/__bits/hash_table_iterators.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_HASH_TABLE_ITERATORS
    30 #define LIBCPP_INTERNAL_HASH_TABLE_ITERATORS
    31 
    32 #include <internal/iterator.hpp>
    33 #include <internal/list.hpp>
    34 #include <internal/hash_table_bucket.hpp>
     29#ifndef LIBCPP_BITS_HASH_TABLE_ITERATORS
     30#define LIBCPP_BITS_HASH_TABLE_ITERATORS
     31
     32#include <__bits/iterator.hpp>
     33#include <__bits/list.hpp>
     34#include <__bits/hash_table_bucket.hpp>
    3535#include <iterator>
    3636
  • uspace/lib/cpp/include/__bits/hash_table_policies.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_HASH_TABLE_POLICIES
    30 #define LIBCPP_INTERNAL_HASH_TABLE_POLICIES
     29#ifndef LIBCPP_BITS_HASH_TABLE_POLICIES
     30#define LIBCPP_BITS_HASH_TABLE_POLICIES
    3131
    3232#include <tuple>
  • uspace/lib/cpp/include/__bits/insert_iterator.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_INSERT_ITERATOR
    30 #define LIBCPP_INTERNAL_INSERT_ITERATOR
     29#ifndef LIBCPP_BITS_INSERT_ITERATOR
     30#define LIBCPP_BITS_INSERT_ITERATOR
    3131
    3232namespace std
  • uspace/lib/cpp/include/__bits/iomanip.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_IOMANIP
    30 #define LIBCPP_INTERNAL_IOMANIP
     29#ifndef LIBCPP_BITS_IOMANIP
     30#define LIBCPP_BITS_IOMANIP
    3131
    3232#include <ios>
  • uspace/lib/cpp/include/__bits/iterator.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_ITERATOR
    30 #define LIBCPP_INTERNAL_ITERATOR
     29#ifndef LIBCPP_BITS_ITERATOR
     30#define LIBCPP_BITS_ITERATOR
    3131
    32 #include <internal/aux.hpp>
     32#include <__bits/aux.hpp>
    3333
    3434namespace std::aux
  • uspace/lib/cpp/include/__bits/key_extractors.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_KEY_EXTRACTORS
    30 #define LIBCPP_INTERNAL_KEY_EXTRACTORS
     29#ifndef LIBCPP_BITS_KEY_EXTRACTORS
     30#define LIBCPP_BITS_KEY_EXTRACTORS
    3131
    3232#include <utility>
  • uspace/lib/cpp/include/__bits/list.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_LIST
    30 #define LIBCPP_INTERNAL_LIST
     29#ifndef LIBCPP_BITS_LIST
     30#define LIBCPP_BITS_LIST
    3131
    3232namespace std::aux
  • uspace/lib/cpp/include/__bits/locale.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_LOCALE
    30 #define LIBCPP_INTERNAL_LOCALE
     29#ifndef LIBCPP_BITS_LOCALE
     30#define LIBCPP_BITS_LOCALE
    3131
    3232#include <impl/string.hpp>
  • uspace/lib/cpp/include/__bits/locale/codecvt.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_LOCALE_CODECVT
    30 #define LIBCPP_INTERNAL_LOCALE_CODECVT
     29#ifndef LIBCPP_BITS_LOCALE_CODECVT
     30#define LIBCPP_BITS_LOCALE_CODECVT
    3131
    3232#include <intetnal/locale.hpp>
  • uspace/lib/cpp/include/__bits/locale/ctype.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_LOCALE_CTYPE
    30 #define LIBCPP_INTERNAL_LOCALE_CTYPE
     29#ifndef LIBCPP_BITS_LOCALE_CTYPE
     30#define LIBCPP_BITS_LOCALE_CTYPE
    3131
    3232#include <cctype>
    33 #include <internal/locale.hpp>
     33#include <__bits/locale.hpp>
    3434#include <impl/string.hpp>
    3535
  • uspace/lib/cpp/include/__bits/locale/num_get.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_LOCALE_NUM_GET
    30 #define LIBCPP_INTERNAL_LOCALE_NUM_GET
     29#ifndef LIBCPP_BITS_LOCALE_NUM_GET
     30#define LIBCPP_BITS_LOCALE_NUM_GET
    3131
    3232#include <cerrno>
    3333#include <cstring>
    34 #include <internal/locale.hpp>
    35 #include <internal/locale/numpunct.hpp>
     34#include <__bits/locale.hpp>
     35#include <__bits/locale/numpunct.hpp>
    3636#include <ios>
    3737#include <iterator>
  • uspace/lib/cpp/include/__bits/locale/num_put.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_LOCALE_NUM_PUT
    30 #define LIBCPP_INTERNAL_LOCALE_NUM_PUT
    31 
    32 #include <internal/locale.hpp>
    33 #include <internal/locale/numpunct.hpp>
     29#ifndef LIBCPP_BITS_LOCALE_NUM_PUT
     30#define LIBCPP_BITS_LOCALE_NUM_PUT
     31
     32#include <__bits/locale.hpp>
     33#include <__bits/locale/numpunct.hpp>
    3434#include <ios>
    3535#include <iterator>
  • uspace/lib/cpp/include/__bits/locale/numpunct.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_LOCALE_NUMPUNCT
    30 #define LIBCPP_INTERNAL_LOCALE_NUMPUNCT
    31 
    32 #include <internal/locale.hpp>
     29#ifndef LIBCPP_BITS_LOCALE_NUMPUNCT
     30#define LIBCPP_BITS_LOCALE_NUMPUNCT
     31
     32#include <__bits/locale.hpp>
    3333#include <string>
    3434
  • uspace/lib/cpp/include/__bits/memory/addressof.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_ADDRESSOF
    30 #define LIBCPP_INTERNAL_MEMORY_ADDRESSOF
     29#ifndef LIBCPP_BITS_MEMORY_ADDRESSOF
     30#define LIBCPP_BITS_MEMORY_ADDRESSOF
    3131
    3232namespace std
  • uspace/lib/cpp/include/__bits/memory/allocator_arg.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_ALLOCATOR_ARG
    30 #define LIBCPP_INTERNAL_MEMORY_ALLOCATOR_ARG
     29#ifndef LIBCPP_BITS_MEMORY_ALLOCATOR_ARG
     30#define LIBCPP_BITS_MEMORY_ALLOCATOR_ARG
    3131
    3232namespace std
  • uspace/lib/cpp/include/__bits/memory/allocator_traits.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_ALLOCATOR_TRAITS
    30 #define LIBCPP_INTERNAL_MEMORY_ALLOCATOR_TRAITS
     29#ifndef LIBCPP_BITS_MEMORY_ALLOCATOR_TRAITS
     30#define LIBCPP_BITS_MEMORY_ALLOCATOR_TRAITS
    3131
    3232#include <cstddef>
    33 #include <internal/aux.hpp>
    34 #include <internal/memory/addressof.hpp>
    35 #include <internal/memory/pointer_traits.hpp>
    36 #include <internal/memory/type_getters.hpp>
     33#include <__bits/aux.hpp>
     34#include <__bits/memory/addressof.hpp>
     35#include <__bits/memory/pointer_traits.hpp>
     36#include <__bits/memory/type_getters.hpp>
    3737#include <limits>
    3838#include <type_traits>
  • uspace/lib/cpp/include/__bits/memory/misc.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_MISC
    30 #define LIBCPP_INTERNAL_MEMORY_MISC
     29#ifndef LIBCPP_BITS_MEMORY_MISC
     30#define LIBCPP_BITS_MEMORY_MISC
    3131
    3232#include <cstdlib>
  • uspace/lib/cpp/include/__bits/memory/owner_less.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_OWNER_LESS
    30 #define LIBCPP_INTERNAL_MEMORY_OWNER_LESS
     29#ifndef LIBCPP_BITS_MEMORY_OWNER_LESS
     30#define LIBCPP_BITS_MEMORY_OWNER_LESS
    3131
    32 #include <internal/memory/shared_ptr.hpp>
    33 #include <internal/memory/weak_ptr.hpp>
     32#include <__bits/memory/shared_ptr.hpp>
     33#include <__bits/memory/weak_ptr.hpp>
    3434
    3535namespace std
  • uspace/lib/cpp/include/__bits/memory/pointer_traits.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_POINTER_TRAITS
    30 #define LIBCPP_INTERNAL_MEMORY_POINTER_TRAITS
     29#ifndef LIBCPP_BITS_MEMORY_POINTER_TRAITS
     30#define LIBCPP_BITS_MEMORY_POINTER_TRAITS
    3131
    3232#include <cstddef>
    33 #include <internal/memory/addressof.hpp>
    34 #include <internal/memory/type_getters.hpp>
     33#include <__bits/memory/addressof.hpp>
     34#include <__bits/memory/type_getters.hpp>
    3535#include <type_traits>
    3636
  • uspace/lib/cpp/include/__bits/memory/shared_payload.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_SHARED_PAYLOAD
    30 #define LIBCPP_INTERNAL_MEMORY_SHARED_PAYLOAD
     29#ifndef LIBCPP_BITS_MEMORY_SHARED_PAYLOAD
     30#define LIBCPP_BITS_MEMORY_SHARED_PAYLOAD
    3131
    3232#include <cinttypes>
  • uspace/lib/cpp/include/__bits/memory/shared_ptr.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_SHARED_PTR
    30 #define LIBCPP_INTERNAL_MEMORY_SHARED_PTR
     29#ifndef LIBCPP_BITS_MEMORY_SHARED_PTR
     30#define LIBCPP_BITS_MEMORY_SHARED_PTR
    3131
    3232#include <exception>
    33 #include <internal/functional/arithmetic_operations.hpp>
    34 #include <internal/functional/hash.hpp>
    35 #include <internal/memory/allocator_arg.hpp>
    36 #include <internal/memory/shared_payload.hpp>
    37 #include <internal/memory/unique_ptr.hpp>
    38 #include <internal/trycatch.hpp>
     33#include <__bits/functional/arithmetic_operations.hpp>
     34#include <__bits/functional/hash.hpp>
     35#include <__bits/memory/allocator_arg.hpp>
     36#include <__bits/memory/shared_payload.hpp>
     37#include <__bits/memory/unique_ptr.hpp>
     38#include <__bits/trycatch.hpp>
    3939#include <type_traits>
    4040
  • uspace/lib/cpp/include/__bits/memory/type_getters.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_TYPE_GETTERS
    30 #define LIBCPP_INTERNAL_MEMORY_TYPE_GETTERS
     29#ifndef LIBCPP_BITS_MEMORY_TYPE_GETTERS
     30#define LIBCPP_BITS_MEMORY_TYPE_GETTERS
    3131
    3232/**
     
    4040
    4141#include <cstddef>
    42 #include <internal/aux.hpp>
     42#include <__bits/aux.hpp>
    4343#include <type_traits>
    4444
  • uspace/lib/cpp/include/__bits/memory/unique_ptr.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_UNIQUE_PTR
    30 #define LIBCPP_INTERNAL_MEMORY_UNIQUE_PTR
    31 
    32 #include <internal/aux.hpp>
    33 #include <internal/functional/hash.hpp>
     29#ifndef LIBCPP_BITS_MEMORY_UNIQUE_PTR
     30#define LIBCPP_BITS_MEMORY_UNIQUE_PTR
     31
     32#include <__bits/aux.hpp>
     33#include <__bits/functional/hash.hpp>
    3434#include <type_traits>
    3535#include <utility>
  • uspace/lib/cpp/include/__bits/memory/weak_ptr.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_MEMORY_WEAK_PTR
    30 #define LIBCPP_INTERNAL_MEMORY_WEAK_PTR
    31 
    32 #include <internal/memory/shared_payload.hpp>
     29#ifndef LIBCPP_BITS_MEMORY_WEAK_PTR
     30#define LIBCPP_BITS_MEMORY_WEAK_PTR
     31
     32#include <__bits/memory/shared_payload.hpp>
    3333#include <type_traits>
    3434#include <utility>
  • uspace/lib/cpp/include/__bits/rbtree.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_RBTREE
    30 #define LIBCPP_INTERNAL_RBTREE
    31 
    32 #include <internal/key_extractors.hpp>
    33 #include <internal/rbtree_iterators.hpp>
    34 #include <internal/rbtree_node.hpp>
    35 #include <internal/rbtree_policies.hpp>
     29#ifndef LIBCPP_BITS_RBTREE
     30#define LIBCPP_BITS_RBTREE
     31
     32#include <__bits/key_extractors.hpp>
     33#include <__bits/rbtree_iterators.hpp>
     34#include <__bits/rbtree_node.hpp>
     35#include <__bits/rbtree_policies.hpp>
    3636
    3737namespace std::aux
  • uspace/lib/cpp/include/__bits/rbtree_iterators.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_RBTREE_ITERATORS
    30 #define LIBCPP_INTERNAL_RBTREE_ITERATORS
    31 
    32 #include <internal/iterator.hpp>
    33 #include <internal/rbtree_node.hpp>
     29#ifndef LIBCPP_BITS_RBTREE_ITERATORS
     30#define LIBCPP_BITS_RBTREE_ITERATORS
     31
     32#include <__bits/iterator.hpp>
     33#include <__bits/rbtree_node.hpp>
    3434#include <iterator>
    3535
  • uspace/lib/cpp/include/__bits/rbtree_node.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_RBTREE_NODE
    30 #define LIBCPP_INTERNAL_RBTREE_NODE
     29#ifndef LIBCPP_BITS_RBTREE_NODE
     30#define LIBCPP_BITS_RBTREE_NODE
    3131
    3232#include <cassert>
  • uspace/lib/cpp/include/__bits/rbtree_policies.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_RBTREE_POLICIES
    30 #define LIBCPP_INTERNAL_RBTREE_POLICIES
    31 
    32 #include <internal/rbtree_node.hpp>
     29#ifndef LIBCPP_BITS_RBTREE_POLICIES
     30#define LIBCPP_BITS_RBTREE_POLICIES
     31
     32#include <__bits/rbtree_node.hpp>
    3333#include <utility>
    3434
  • uspace/lib/cpp/include/__bits/result_of.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_RESULT_OF
    30 #define LIBCPP_INTERNAL_RESULT_OF
     29#ifndef LIBCPP_BITS_RESULT_OF
     30#define LIBCPP_BITS_RESULT_OF
    3131
    32 #include <internal/invoke.hpp>
     32#include <__bits/invoke.hpp>
    3333
    3434namespace std
  • uspace/lib/cpp/include/__bits/string.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_STRING
    30 #define LIBCPP_INTERNAL_STRING
     29#ifndef LIBCPP_BITS_STRING
     30#define LIBCPP_BITS_STRING
    3131
    3232#include <ios>
  • uspace/lib/cpp/include/__bits/stringfwd.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_STRINGFWD
    30 #define LIBCPP_INTERNAL_STRINGFWD
     29#ifndef LIBCPP_BITS_STRINGFWD
     30#define LIBCPP_BITS_STRINGFWD
    3131
    3232namespace std
  • uspace/lib/cpp/include/__bits/test/mock.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TEST_MOCK
    30 #define LIBCPP_INTERNAL_TEST_MOCK
     29#ifndef LIBCPP_BITS_TEST_MOCK
     30#define LIBCPP_BITS_TEST_MOCK
    3131
    3232#include <cstdlib>
  • uspace/lib/cpp/include/__bits/test/tests.hpp

    rfc15120 r7bbf91e  
    3131
    3232#include <cstdio>
    33 #include <internal/test/test.hpp>
     33#include <__bits/test/test.hpp>
    3434#include <vector>
    3535
  • uspace/lib/cpp/include/__bits/thread.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_THREAD
    30 #define LIBCPP_INTERNAL_THREAD
     29#ifndef LIBCPP_BITS_THREAD
     30#define LIBCPP_BITS_THREAD
    3131
    3232namespace std::hel
  • uspace/lib/cpp/include/__bits/trycatch.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TRYCATCH
    30 #define LIBCPP_INTERNAL_TRYCATCH
     29#ifndef LIBCPP_BITS_TRYCATCH
     30#define LIBCPP_BITS_TRYCATCH
    3131
    3232// TODO: This header should be included in every libcpp header.
     
    4545#if LIBCPP_EXCEPTIONS_SUPPORTED == 0
    4646
     47/**
     48 * In case the file where our macros get expanded
     49 * does not include cstdlib.
     50 */
     51extern "C" void abort(void) __attribute__((noreturn));
     52extern "C" int printf(const char*, ...);
     53
    4754namespace std
    4855{
    49     /**
    50      * In case the file where our macros get expanded
    51      * does not include cstdlib.
    52      */
    53     extern "C" void abort(void) __attribute__((noreturn));
    54     extern "C" int printf(const char*, ...);
    55 
    5656    namespace aux
    5757    {
  • uspace/lib/cpp/include/__bits/tuple/tuple_cat.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TUPLE_TUPLE_CAT
    30 #define LIBCPP_INTERNAL_TUPLE_TUPLE_CAT
     29#ifndef LIBCPP_BITS_TUPLE_TUPLE_CAT
     30#define LIBCPP_BITS_TUPLE_TUPLE_CAT
    3131
    3232#include <utility>
  • uspace/lib/cpp/include/__bits/tuple/tuple_ops.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TUPLE_TUPLE_OPS
    30 #define LIBCPP_INTERNAL_TUPLE_TUPLE_OPS
     29#ifndef LIBCPP_BITS_TUPLE_TUPLE_OPS
     30#define LIBCPP_BITS_TUPLE_TUPLE_OPS
    3131
    3232#include <utility>
  • uspace/lib/cpp/include/__bits/type_traits/references.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TYPE_TRAITS_REFERENCES
    30 #define LIBCPP_INTERNAL_TYPE_TRAITS_REFERENCES
     29#ifndef LIBCPP_BITS_TYPE_TRAITS_REFERENCES
     30#define LIBCPP_BITS_TYPE_TRAITS_REFERENCES
    3131
    32 #include <internal/aux.hpp>
     32#include <__bits/aux.hpp>
    3333
    3434namespace std
  • uspace/lib/cpp/include/__bits/type_traits/result_of.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TYPE_TRAITS_RESULT_OF
    30 #define LIBCPP_INTERNAL_TYPE_TRAITS_RESULT_OF
     29#ifndef LIBCPP_BITS_TYPE_TRAITS_RESULT_OF
     30#define LIBCPP_BITS_TYPE_TRAITS_RESULT_OF
    3131
    32 #include <internal/functional/invoke.hpp>
     32#include <__bits/functional/invoke.hpp>
    3333
    3434namespace std
  • uspace/lib/cpp/include/__bits/type_transformation.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TYPE_TRANSFORMATION
    30 #define LIBCPP_INTERNAL_TYPE_TRANSFORMATION
     29#ifndef LIBCPP_BITS_TYPE_TRANSFORMATION
     30#define LIBCPP_BITS_TYPE_TRANSFORMATION
    3131
    32 #include <internal/aux.hpp>
     32#include <__bits/aux.hpp>
    3333#include <type_traits>
    3434
  • uspace/lib/cpp/include/__bits/utility/declval.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_UTILITY_DECLVAL
    30 #define LIBCPP_INTERNAL_UTILITY_DECLVAL
     29#ifndef LIBCPP_BITS_UTILITY_DECLVAL
     30#define LIBCPP_BITS_UTILITY_DECLVAL
    3131
    32 #include <internal/type_traits/references.hpp>
     32#include <__bits/type_traits/references.hpp>
    3333
    3434namespace std
  • uspace/lib/cpp/include/__bits/utility/forward_move.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_UTILITY_FORWARD_MOVE
    30 #define LIBCPP_INTERNAL_UTILITY_FORWARD_MOVE
     29#ifndef LIBCPP_BITS_UTILITY_FORWARD_MOVE
     30#define LIBCPP_BITS_UTILITY_FORWARD_MOVE
    3131
    32 #include <internal/type_traits/references.hpp>
     32#include <__bits/type_traits/references.hpp>
    3333
    3434namespace std
Note: See TracChangeset for help on using the changeset viewer.