Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C++ Koans repo

20 views
Skip to first unread message

Richard

unread,
Jan 12, 2018, 1:05:26 PM1/12/18
to
[Please do not mail me a copy of your followup]

I just added koans for character and string literals, std::string and
std::string_view. Check the README at the link below for details.

<https://github.com/LegalizeAdulthood/cpp-koans>

Note: the following fail in MSVC:

static_assert(std::is_same_v(decltype(u'x'), char16_t>);
static_assert(std::is_same_v(decltype(U'x'), char32_t>);
constexpr std::string_view s{"foo"};

Bugs have been filed.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
0 new messages