cxx-prettyprint
cxx-prettyprint copied to clipboard
Support std::optional
This adds support for std::optional. It uses a feature-test macro to determine whether the compiler supports that. I added a fourth delimiter type in order to print "nullopt" when the optional is empty.