lundi 27 février 2017

using constexpr with yaml-cpp's node

Is it a way to use constexpr with yaml-cpp ? I tried :

constexpr YAML::Node sample = YAML::LoadFile("sample.yaml");

but it seems that's not possible with the actual implementation of yaml ?

Aucun commentaire:

Enregistrer un commentaire