jeudi 24 décembre 2015

STL memory conflicts with std memory

I'm rewriting some legacy code and would like to use both STL AND smart pointers. However, memory is defined in STL, so if I include memory then it's some STL code and smart pointers are unavailable.

Whats a workaround? Rename the STL file and any references to it? Is there a better way to do this?

Thank you very much!

Aucun commentaire:

Enregistrer un commentaire