Skip to content

Commit daa4afd

Browse files
committed
Only forward-declare std::allocator in <string>
1 parent 77cb804 commit daa4afd

File tree

1 file changed

+1
-5
lines changed
  • cpp/common/test/includes/standard-library

1 file changed

+1
-5
lines changed

cpp/common/test/includes/standard-library/string

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ template <> struct char_traits<wchar_t> {
8888
static int_type eof();
8989
};
9090

91-
template <class T> class allocator {
92-
public:
93-
allocator() throw();
94-
typedef size_t size_type;
95-
};
91+
template <class T> class allocator;
9692

9793
template <class charT, class traits = char_traits<charT>,
9894
class Allocator = allocator<charT>>

0 commit comments

Comments
 (0)