c++14 - No <optional> in MS Visual Studio 2013 - what to do? -


i want use std::experimental::optional, msvs 2013 tells me can't find header.

  • why isn't there?
  • can roll own based on code elsewhere? c++14 proposal maybe?

std::experimental::optional originates boost.optional library, , implementation works in visual c++ 12.0 (though differs a little). reference single-header implementation, based on n3793 proposal paper, can found here.

the latest list of supported c++11/14/1z core , library features shipped visual studio can found visual c++ team blog, this post in particular. set of header files of standard library implementation (and extensions) microsoft can viewed here.


Comments