visual c++ - C++/CLI typedef cliext LNK2022 error -


if write c++/cli application, , attempt use stl:clr via cliext , typedef example cliext map find doesn't work due lnk2022 error.

i mistaken in original answer on how mitigate link error pointed out hans in comment above. though, recommend using dictionary instead, still possible continue using cliext , solve problem without unusual workarounds.

the actual answer templates not allow external linkage. means somewhere using cliext::map outside of namespace. moment eliminated, link error goes away.


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

php - Using str_replace to translate a MySQL Table in html -

asp.net mvc - Cannot display error message on Editor or EditorFor -