ここで恥ずかしいほど単純な問題。私は使用しようとしてstd::array
いて、エラーで最初のハードルでつまずきます...
implicit instantiation of undefined template 'std::__1::array<char,10>'
エラーを発生させるコードを以下に示します。今のところ回避できますstd::map
が、修正は簡単なはずです!!
enum p_t {
EMPTY = 0
,BORDER_L
// ...
,BORDER_BR
,DATUM
,NUMEL };
class PlotChars
{
array<char, p_t::NUMEL> charContainer;
// error on this ^ line:
// implicit instantiation of undefined template 'std::__1::array<char,10>'
};