views:

182

answers:

1
A: 

The error shows that template class "char_traits" doesn't exist. This one, actually is defined in "char_traits.h", is not included by "array.cpp".

Although in this file, it reads:

/** @file char_traits.h
*  This is an internal header file, included by other library headers.
*  You should not attempt to use it directly.
*/

But you can still try to include it and make clang happy.

Xu Jiandong