#include <cstring>
#include <lexy/_detail/assert.hpp>
#include <lexy/_detail/config.hpp>
#include <new>
Go to the source code of this file.
|
template<typename MemoryResource > |
using | lexy::_detail::memory_resource_ptr = std::conditional_t< std::is_void_v< MemoryResource >, _memory_resource_ptr_empty< default_memory_resource >, std::conditional_t< std::is_empty_v< MemoryResource >, _memory_resource_ptr_empty< MemoryResource >, _memory_resource_ptr< MemoryResource > >> |
|
|
template<typename MemoryResource , typename = std::enable_if_t<std::is_void_v<MemoryResource> || std::is_empty_v<MemoryResource>>> |
constexpr MemoryResource * | lexy::_detail::get_memory_resource () |
|