C++ CLI error C3767: candidate function(s) not accessible

后端 未结 3 538
余生分开走
余生分开走 2020-11-30 10:20

I\'m new to C++ CLI coming from unmanaged C++ world.

I\'m getting this error:

candidate function(s) not accessible 

when I pass a s

3条回答
  •  爱一瞬间的悲伤
    2020-11-30 10:56

    In addition to the solutions described above, one can subclass the templated type to obtain a non-templated type, and include its definition in both projects, thus overcoming some of the problems mentioned above.

提交回复
热议问题