>>601 A()のコンストラクタの引数だめじゃん。
そういう場合の参照引数はconst付けるの常識っす。
A(const std::basic_string<TCHAR>& ref) : s_(ref) {}