I'm uncomfortable with some of the syntactical elements of C++, in particular regarding compilation and includes. I was trying to implement the solution listed in the following Q&A:
boost::property_tree::json_parser and two-byte wide characters
In doing so, pasted the suggested template code in an .h file that is being included by my .cpp file. I also added the following to the top of my .cpp, thinking I needed to reference what I'm overriding:
#include "boost/property_tree/detail/json_parser_write.hpp"
I am getting the following compilation error:
Error 11 error C2912: explicit specialization; 'std::basic_string<_Elem,_Traits,_Ax> boost::property_tree::json_parser::create_escapes(const std::basic_string<_Elem,_Traits,_Ax> &)' is not a specialization of a function template d:\abr.trunk\e1\livesdencoder\web\encodingservice\h264presentation.h 151
What am I doing wrong to get this override of create_escapes registered for use? Thanks in advance!!