1// Copyright Louis Dionne 2013-2022
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
4
5#include <boost/hana/string.hpp>
6namespace hana = boost::hana;
7
8
9int main() {
10 using Str = decltype(hana::string_c<'a', 'b', 'c', 'd'>);
11 Str s1{};
12 Str s2(s1);
13 Str s3 = s1;
14
15 (void)s2; (void)s3;
16}
17

source code of boost/libs/hana/test/string/cnstr.copy.cpp