add raw type string
parent
8d3bfbcdc3
commit
2266d64f04
|
@ -1,7 +1,7 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
include(cmake/color.cmake)
|
||||||
|
|
||||||
set(BLT_VERSION 0.17.13)
|
set(BLT_VERSION 0.17.14)
|
||||||
set(BLT_TEST_VERSION 0.0.1)
|
set(BLT_TEST_VERSION 0.0.1)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
4
LICENSE
4
LICENSE
|
@ -187,7 +187,7 @@ measures.
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
circumvention of technological measures to the extent such circumvention
|
circumvention of technological measures to the extent such circumvention
|
||||||
is effected by exercising rights under this License with respect to
|
is effected by exercising rights under this License with respect to
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
the covered work, and you disclaim any intention to limit operation_t or
|
||||||
modification of the work as a means of enforcing, against the work's
|
modification of the work as a means of enforcing, against the work's
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
technological measures.
|
technological measures.
|
||||||
|
@ -331,7 +331,7 @@ requirement to continue to provide support service, warranty, or updates
|
||||||
for a work that has been modified or installed by the recipient, or for
|
for a work that has been modified or installed by the recipient, or for
|
||||||
the User Product in which it has been modified or installed. Access to a
|
the User Product in which it has been modified or installed. Access to a
|
||||||
network may be denied when the modification itself materially and
|
network may be denied when the modification itself materially and
|
||||||
adversely affects the operation of the network or violates the rules and
|
adversely affects the operation_t of the network or violates the rules and
|
||||||
protocols for communication across the network.
|
protocols for communication across the network.
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
|
|
@ -596,7 +596,7 @@ namespace blt
|
||||||
case EPERM:
|
case EPERM:
|
||||||
BLT_WRITE("The prot argument asks for PROT_EXEC but the mapped area "
|
BLT_WRITE("The prot argument asks for PROT_EXEC but the mapped area "
|
||||||
"belongs to a file on a filesystem that was mounted no-exec.");
|
"belongs to a file on a filesystem that was mounted no-exec.");
|
||||||
BLT_WRITE("Or The operation was prevented by a file seal");
|
BLT_WRITE("Or The operation_t was prevented by a file seal");
|
||||||
BLT_WRITE("Or The MAP_HUGETLB flag was specified, but the caller "
|
BLT_WRITE("Or The MAP_HUGETLB flag was specified, but the caller "
|
||||||
"was not privileged (did not have the CAP_IPC_LOCK capability) "
|
"was not privileged (did not have the CAP_IPC_LOCK capability) "
|
||||||
"and is not a member of the sysctl_hugetlb_shm_group group; "
|
"and is not a member of the sysctl_hugetlb_shm_group group; "
|
||||||
|
|
|
@ -61,6 +61,12 @@ namespace blt
|
||||||
return demangle(typeid(T).name());
|
return demangle(typeid(T).name());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
static BLT_CPP20_CONSTEXPR inline std::string type_string_raw()
|
||||||
|
{
|
||||||
|
return typeid(T).name();
|
||||||
|
}
|
||||||
|
|
||||||
//#define BLT_LAMBDA(type, var, code) [](const type& var) -> auto { return code; }
|
//#define BLT_LAMBDA(type, var, code) [](const type& var) -> auto { return code; }
|
||||||
//#define BLT_LAMBDA(var, code) [](var) -> auto { return code; }
|
//#define BLT_LAMBDA(var, code) [](var) -> auto { return code; }
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace blt::error
|
||||||
BLT_WARN("Network is unreachable");
|
BLT_WARN("Network is unreachable");
|
||||||
break;
|
break;
|
||||||
case ENOTSOCK:
|
case ENOTSOCK:
|
||||||
BLT_WARN("Socket operation on non-socket");
|
BLT_WARN("Socket operation_t on non-socket");
|
||||||
break;
|
break;
|
||||||
case EPROTOTYPE:
|
case EPROTOTYPE:
|
||||||
BLT_WARN("Protocol wrong type for socket");
|
BLT_WARN("Protocol wrong type for socket");
|
||||||
|
|
Loading…
Reference in New Issue