QuickCppLib  0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
quickcpplib::_xxx Namespace Reference

Per commit unique namespace to prevent different git submodule versions clashing. More...

Namespaces

 algorithm
 
 aligned_allocator
 
 allocator_testing
 
 bit_cast
 
 byte
 
 configurable_spinlock
 
 console_colours
 
 detach_cast
 
 detail
 
 erasure_cast
 
 function_ptr
 The namespace for the function pointer type.
 
 in_place_attach_detach
 
 integers128
 
 mem_flush_loads_stores
 
 offset_ptr
 The namespace for the offset pointer types.
 
 optional
 
 packed_backtrace
 
 pmr
 
 ringbuffer_log
 
 scope
 
 signal_guard
 The namespace for signal_guard.
 
 span
 
 start_lifetime_as
 
 string_view
 
 tribool
 
 type_traits
 
 unit_test
 
 utils
 

Classes

struct  print_type
 Gets the compiler to error out printing a type. More...
 

Functions

template<class T >
auto declval () noexcept -> decltype(detail::declval_selector< T >(0))
 std::declval without <utility> More...
 

Detailed Description

Per commit unique namespace to prevent different git submodule versions clashing.

Function Documentation

◆ declval()

template<class T >
auto quickcpplib::_xxx::declval ( ) -> decltype(detail::declval_selector<T>(0))
noexcept

std::declval without <utility>

44 {
45  static_assert(!detail::declval_issame<T, T>::value, "declval() must not be instanced!");
46  abort();
47 }