-1
を動作しますが、このような初期化クラスのメンバはありません:制服の初期化は、私は私のクラスで<a href="https://github.com/nlohmann/json" rel="nofollow noreferrer" title="modern json">modern json</a>を使用する場合
Test::Test(json config) : m_config{config}
{
}
それが仕事とtype::error
例外がスローされますが、私はこの
Test::Test(json config) : m_config(config)
{
}
なぜですか?
私は 'json {std :: initializer_list}'が存在すると思います。 –
StoryTeller