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


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/memory
Files:
11 moved

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.