The class declares initialize_list functions under a optional_CPP11_OR_GREATER preprocessor block but the header is in a optional_HAVE_INITIALIZER_LIST block.
We should either:
- Change the
#include to be wrapped by #if optional_CPP11_OR_GREATER
- Change the declarations of the
initializer_list functions to be wrapped in optional_HAVE_INITIALIZER_LIST and add a define for optional_HAVE_INITIALIZER_LIST
I suspect 2 is wanted.