std::string const &
の引数を持つ関数のLNK2019未解決の外部シンボルエラーを追跡しようとしています。 this answerのこれはstd :: stringと同じですか?
ステップ1が飾ら/装飾のない名前を確認するために言いますが、これは私が引数リストにリンカエラーテキストで見ているものです:
class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &
が、これもstd::string const &
ですか?
ありがとうございました。
私はVS 2008を実行しています。
はい、同じことです。 –
'string' [ここ](http://msdn.microsoft.com/en-us/library/hd5zecz6(V= VS.100).aspx)のtypedefをチェックしてください: 'typedef basic_string string'と注意してくださいbasic_stringテンプレートへの 'Traits'と' Allocator'パラメータのデフォルト値 –
HansとFrankにありがとうございます。 – John