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

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -