Hacker News new | ask | show | jobs
by OnlyMortal 899 days ago
I wonder if some of the boost header-only libraries might work.

In particular the shared pointers.

1 comments

~~This is a C compiler, not C++, so Boost will not work with it.~~

EDIT: - I stand corrected, the compiler can be switched in C++ mode.

To quote the article:

“C++ support level

The compiler will most likely not support a current C++ standard in the near future, but several C++ features are already implemented. The compiler can be switched into C++ mode with the command line option -pp or by providing a source file with a .cpp extension.”

Thanks, you are right, the compiler has some C++ support also.
I do expect some mangling of the boost header files would need to be done.

It’d be awesome if a patch was made and submitted :-)