cppx-core
cppx-core
language
types
C_str_.hpp
Go to the documentation of this file.
1
#pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi").
2
27
#include <
cppx-core/language/types/type-makers.hpp
>
// cppx::(P_, Const_, Unconst_)
28
29
namespace
cppx
30
{
31
// Enable_if_<is_a_cpp03_char_type_<Unconst_<Char>>>
32
template
<
class
Char >
33
using
C_str_
=
P_<Const_<Char>
>;
// Effectively `Char const*`.
34
35
template
<
class
Char >
36
using
Mutable_c_str_
=
P_<Unconst_<Char>
>;
// Effectively `Unconst_<Char>*`.
37
38
using
C_str
=
C_str_<char>
;
// Effectively `char const*`.
39
using
Wide_c_str
=
C_str_<wchar_t>
;
// Effectively `wchar_t const*`.
40
using
Mutable_c_str
=
Mutable_c_str_<char>
;
// Effectively `char*`.
41
using
Mutable_wide_c_str
=
Mutable_c_str_<wchar_t>
;
// Effectively `wchar_t*`.
42
43
}
// namespace cppx
cppx::P_
Some_type * P_
Creates a raw pointer type.
Definition:
type-assemblers.hpp:54
cppx::Mutable_c_str
Mutable_c_str_< char > Mutable_c_str
Definition:
C_str_.hpp:40
cppx::C_str_
P_< Const_< Char > > C_str_
Definition:
C_str_.hpp:33
cppx::Mutable_wide_c_str
Mutable_c_str_< wchar_t > Mutable_wide_c_str
Definition:
C_str_.hpp:41
type-makers.hpp
Type_choice_, Unptr_, Unref_, Signed_, Unsigned_, Const_, Unconst_ and Array_of_.
cppx
Definition:
dynamic-size-checking.hpp:12
cppx::Mutable_c_str_
P_< Unconst_< Char > > Mutable_c_str_
Definition:
C_str_.hpp:36
cppx::C_str
C_str_< char > C_str
Definition:
C_str_.hpp:38
cppx::Wide_c_str
C_str_< wchar_t > Wide_c_str
Definition:
C_str_.hpp:39
Generated by
1.8.15