Classes | Functions | Variables
custom_allocator_tests.cpp File Reference
#include <tsl/robin_map.h>
#include <boost/test/unit_test.hpp>
#include <cstddef>
#include <cstdlib>
#include <functional>
#include <limits>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include "utils.h"
Include dependency graph for custom_allocator_tests.cpp:

Go to the source code of this file.

Classes

class  custom_allocator< T >
 
struct  custom_allocator< T >::rebind< U >
 

Functions

 BOOST_AUTO_TEST_CASE (test_custom_allocator_1)
 
template<class T , class U >
bool operator!= (const custom_allocator< T > &, const custom_allocator< U > &)
 
template<class T , class U >
bool operator== (const custom_allocator< T > &, const custom_allocator< U > &)
 

Variables

static std::size_t nb_custom_allocs = 0
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( test_custom_allocator_1  )

Definition at line 121 of file custom_allocator_tests.cpp.

◆ operator!=()

template<class T , class U >
bool operator!= ( const custom_allocator< T > &  ,
const custom_allocator< U > &   
)

Definition at line 104 of file custom_allocator_tests.cpp.

◆ operator==()

template<class T , class U >
bool operator== ( const custom_allocator< T > &  ,
const custom_allocator< U > &   
)

Definition at line 99 of file custom_allocator_tests.cpp.

Variable Documentation

◆ nb_custom_allocs

std::size_t nb_custom_allocs = 0
static

MIT License

Copyright (c) 2017 Thibaut Goetghebuer-Planchon tessi.nosp@m.l@gm.nosp@m.x.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition at line 37 of file custom_allocator_tests.cpp.



mp2p_icp
Author(s): Jose-Luis Blanco-Claraco
autogenerated on Wed Jun 26 2024 02:47:10