C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: extremely long compile time with large number of string literals
From: Hans Ã…berg (haberg-1_at_[hidden])
Date: 2020-07-09 17:23:36


> On 9 Jul 2020, at 23:51, Mandeep Sandhu via Std-Discussion <std-discussion_at_[hidden]> wrote:
>
> I added the space after reading this:
> https://gcc.gnu.org/gcc-4.7/porting_to.html (See: User-defined
> literals and whitespace)
>
> Anyway, without the space I get a different error:

They are called string literals, see this page, which also has an example:
  https://en.cppreference.com/w/cpp/string/basic_string/operator""s


STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups