{"action":"closed","issue":{"url":"https://api.github.com/repos/skystrife/cpptoml/issues/67","repository_url":"https://api.github.com/repos/skystrife/cpptoml","labels_url":"https://api.github.com/repos/skystrife/cpptoml/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/skystrife/cpptoml/issues/67/comments","events_url":"https://api.github.com/repos/skystrife/cpptoml/issues/67/events","html_url":"https://github.com/skystrife/cpptoml/issues/67","id":312869480,"number":67,"title":"Error compiling with VS 2013","user":{"login":"illera88","id":5193128,"avatar_url":"https://avatars1.githubusercontent.com/u/5193128?v=4","gravatar_id":"","url":"https://api.github.com/users/illera88","html_url":"https://github.com/illera88","followers_url":"https://api.github.com/users/illera88/followers","following_url":"https://api.github.com/users/illera88/following{/other_user}","gists_url":"https://api.github.com/users/illera88/gists{/gist_id}","starred_url":"https://api.github.com/users/illera88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illera88/subscriptions","organizations_url":"https://api.github.com/users/illera88/orgs","repos_url":"https://api.github.com/users/illera88/repos","events_url":"https://api.github.com/users/illera88/events{/privacy}","received_events_url":"https://api.github.com/users/illera88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T10:47:45Z","updated_at":"2018-04-30T20:15:45Z","closed_at":"2018-04-30T20:15:45Z","author_association":"CONTRIBUTOR","body":"Just including `cpptoml.h` compiles fine with VS2017 and VS2015 but not with VS2013 which is the one that I need for compatibility reasons.\r\nCan you please fix that? \r\n\r\n```\r\n1>------ Build started: Project: Project2, Configuration: Debug x64 ------\r\n1>Source.cpp\r\n1>c:\\users\\d\\source\\repos\\project2\\project2\\cpptoml.h(63): error C2797: 'cpptoml::option<std::vector<std::shared_ptr<cpptoml::array>,std::allocator<_Ty>>>::value_': list initialization inside member initializer list or non-static data member initializer is not implemented\r\n1>        with\r\n1>        [\r\n1>            _Ty=std::shared_ptr<cpptoml::array>\r\n1>        ]\r\n1>        c:\\users\\default.laptop-bgosj7n3\\source\\repos\\project2\\project2\\cpptoml.h(62) : while compiling class template member function 'cpptoml::option<std::vector<std::shared_ptr<cpptoml::array>,std::allocator<_Ty>>>::option(T)'\r\n1>        with\r\n1>        [\r\n1>            _Ty=std::shared_ptr<cpptoml::array>\r\n1>,            T=std::vector<std::shared_ptr<cpptoml::array>,std::allocator<std::shared_ptr<cpptoml::array>>>\r\n1>        ]\r\n1>        c:\\users\\default.laptop-bgosj7n3\\source\\repos\\project2\\project2\\cpptoml.h(893) : see reference to function template instantiation 'cpptoml::option<std::vector<std::shared_ptr<cpptoml::array>,std::allocator<_Ty>>>::option(T)' being compiled\r\n1>        with\r\n1>        [\r\n1>            _Ty=std::shared_ptr<cpptoml::array>\r\n1>,            T=std::vector<std::shared_ptr<cpptoml::array>,std::allocator<std::shared_ptr<cpptoml::array>>>\r\n1>        ]\r\n1>        c:\\users\\default.laptop-bgosj7n3\\source\\repos\\project2\\project2\\cpptoml.h(894) : see reference to class template instantiation 'cpptoml::option<std::vector<std::shared_ptr<cpptoml::array>,std::allocator<_Ty>>>' being compiled\r\n1>        with\r\n1>        [\r\n1>            _Ty=std::shared_ptr<cpptoml::array>\r\n1>        ]\r\n1>Done building project \"Project2.vcxproj\" -- FAILED.\r\n========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n```\r\n\r\nThanks and regards"}}
{"actor":{"display_login":"skystrife"}}