cxx-prettyprint icon indicating copy to clipboard operation
cxx-prettyprint copied to clipboard

Support std::optional

Open dstahlke opened this issue 5 years ago • 0 comments

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.

dstahlke avatar Dec 29 '18 23:12 dstahlke