Loading [MathJax]/extensions/tex2jax.js
Iros
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Loading...
Searching...
No Matches
constexpr_intgral.h
Go to the documentation of this file.
1#pragma once
2
4#include "di/meta/constexpr.h"
9
10namespace di {
11inline namespace literals {
12 inline namespace constexpr_integral_literals {
13 template<char... chars>
14 constexpr auto operator""_zic() {
15 constexpr auto do_parse = [] {
16 auto s = Array { chars... };
17 auto view = container::TransparentStringView { s.data(), s.data() + s.size() };
19 };
20 return meta::Constexpr<do_parse()> {};
21 }
22 }
23}
24}
25
26#if !defined(DI_NO_GLOBALS) && !defined(DI_NO_GLOBAL_CONSTEXPR_INTEGRAL_LITERALS)
28#endif
string::StringViewImpl< string::TransparentEncoding > TransparentStringView
Definition string_view.h:13
Definition constexpr_intgral.h:12
Definition duration_literals.h:20
constexpr auto parse_unchecked
Definition parse_unchecked.h:25
Definition zstring_parser.h:9
A wrapper for a constexpr value.
Definition core.h:77
Definition span_fixed_size.h:37