Quick C++ question for C++ experts :)

Jonathan Wakely jwakely at redhat.com
Wed Apr 8 13:15:12 UTC 2015


On 02/04/15 10:34 +0100, Ian Malone wrote:
>Thanks. Hadn't occurred to me the + operator here was a template as
>I'd never had to deal with basic_string. Still a bit puzzled as
>cplusplus.com says string is an instantiation of basic_string while
>cppreference.com says it's a typedef (which I guess doesn't count as
>explicit instantiation).

cplusplus.com is notoriously inaccurate. It probably means string is a
specialization of basic_string.

This is going very off-topic for this list.


More information about the devel mailing list