Supported C++ compilers and language features

Hey all,

Started trying to compile a model with an older compiler that only supports C++11 and finding that on master we’re using some C++14 features like std::enable_if_t, so I wanted to try to find the page where we list what compilers and language features we’re supporting for C++. Does anyone know where that information lives now?

Thanks,
Sean

The most up-to-date list is or at least should be is here: https://mc-stan.org/docs/2_23/cmdstan-guide/cmdstan-installation.html

There is also a list on the Stan wiki but that lists compilers used for tests (or tests in the past): that is just confusing.

Please report if any of this is false. Thanks!

1 Like

c++1y is the flag used in our makefiles. It’s between c++11 and c++14.