阅读背景:

如何从模板中获取const向量元素的引用

来源:互联网 

I have this main.cpp:

我有这个main.cpp:

std::string hw[] = { "Hello", "World" };
const array_appender<std::string> ha( hw, sizeof( hw ) / sizeof( hw[ 0 ] ) );

if ( /*with some other conditions*/ &( ha.at( 0 ) ) == hw )
{
  //some other stuff
}
std::st



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: