4 Jul
2015
4 Jul
'15
9:56 a.m.
2015-07-04 0:16 GMT+03:00 Klaim - Joël Lamotte
Note: http://apolukhin.github.io/Boost.DLL/boost/dll/symbol_location.html
I do not understand how to use this function, what is T here?
T could be any variable or function that you're interested in: int var; void foo() {} int main() { dll::symbol_location(var); // returns program location dll::symbol_location(foo); // returns program location dll::symbol_location(std::cerr); // probably returns location of libstdc++ dll::symbol_location(std::placeholders::_1); // probably returns location of libstdc++ dll::symbol_location(errno); // probably returns location of libc } I'll clarify the docs, thanks for the note! -- Best regards, Antony Polukhin