File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
cpp/common/test/includes/standard-library Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ using ::atoll;
1313using ::exit;
1414using ::free;
1515using ::malloc;
16+ using ::calloc;
17+ using ::realloc;
18+ using ::aligned_alloc;
1619using ::quick_exit;
1720using ::rand;
1821using ::strtod;
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ template <typename T1> struct allocator_traits {
165165 static pointer allocate (T1 &, size_type, const_void_pointer);
166166 static void deallocate (T1 &, pointer, size_type);
167167};
168+
168169} // namespace std
169170
170171#endif // _GHLIBCPP_MEMORY
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ void *calloc(size_t num, size_t size);
77void free (void * ptr );
88void * malloc (size_t size );
99void * realloc (void * ptr , size_t size );
10+ void * aligned_alloc (size_t , size_t );
1011
1112[[noreturn ]] void _Exit (int status ) noexcept ;
1213[[noreturn ]] void abort (void ) noexcept ;
@@ -36,4 +37,4 @@ long double strtold(const char *str, char **endptr);
3637
3738int rand (void );
3839
39- #endif // _GHLIBCPP_STDLIB
40+ #endif // _GHLIBCPP_STDLIB
You can’t perform that action at this time.
0 commit comments