Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Macros | Functions | Variables
test_functional.hpp File Reference
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <string>
#include <typeindex>
#include <jau/functional.hpp>
#include <jau/type_traits_queries.hpp>
#include <jau/test/catch2_ext.hpp>
Include dependency graph for test_functional.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TestFunction01
 
class  TestFunction01::y_combinator_lambda< R, L, A >
 

Macros

#define FUNCTIONAL_IMPL   1
 

Functions

static int Func0a_free (int i) noexcept
 
static void Func1a_free (int &r, int i) noexcept
 
static void Func2a_free () noexcept
 
 METHOD_AS_TEST_CASE (TestFunction01::test00_usage, "00_usage")
 
 METHOD_AS_TEST_CASE (TestFunction01::test01_memberfunc_this, "01_memberfunc")
 
 METHOD_AS_TEST_CASE (TestFunction01::test02_freefunc_static, "02_freefunc")
 
 METHOD_AS_TEST_CASE (TestFunction01::test03_stdfunc_lambda, "03_stdfunc")
 
 METHOD_AS_TEST_CASE (TestFunction01::test04_capval_lambda, "04_capval")
 
 METHOD_AS_TEST_CASE (TestFunction01::test05_capval_lambda, "05_capval")
 
 METHOD_AS_TEST_CASE (TestFunction01::test06_capval_lambda, "06_capval")
 
 METHOD_AS_TEST_CASE (TestFunction01::test07_capref_lambda, "07_capref")
 
 METHOD_AS_TEST_CASE (TestFunction01::test08_lambda, "08_lambda")
 
 METHOD_AS_TEST_CASE (TestFunction01::test09_lambda_ctti, "09_lambda_ctti")
 
 METHOD_AS_TEST_CASE (TestFunction01::test10_lambda_id, "10_lambda_id")
 
 METHOD_AS_TEST_CASE (TestFunction01::test11_memberfunc_this, "11_memberfunc")
 
 METHOD_AS_TEST_CASE (TestFunction01::test12_freefunc_static, "12_freefunc")
 
 METHOD_AS_TEST_CASE (TestFunction01::test13_stdfunc_lambda, "13_stdfunc")
 
 METHOD_AS_TEST_CASE (TestFunction01::test14_capval_lambda, "14_capval")
 
 METHOD_AS_TEST_CASE (TestFunction01::test15_ylambda, "15_ylambda")
 
 METHOD_AS_TEST_CASE (TestFunction01::test20_misc, "20_misc")
 

Variables

static std::string impl_name = "jau/functional.hpp"
 

Macro Definition Documentation

◆ FUNCTIONAL_IMPL

#define FUNCTIONAL_IMPL   1
Examples
test_functional.hpp, and test_functional_perf.hpp.

Definition at line 31 of file test_functional.hpp.

Function Documentation

◆ Func0a_free()

static int Func0a_free ( int  i)
staticnoexcept
Examples
test_functional.hpp.

Definition at line 44 of file test_functional.hpp.

Here is the caller graph for this function:

◆ Func1a_free()

static void Func1a_free ( int &  r,
int  i 
)
staticnoexcept
Examples
test_functional.hpp.

Definition at line 49 of file test_functional.hpp.

Here is the caller graph for this function:

◆ Func2a_free()

static void Func2a_free ( )
staticnoexcept
Examples
test_functional.hpp.

Definition at line 53 of file test_functional.hpp.

Here is the caller graph for this function:

◆ METHOD_AS_TEST_CASE() [1/17]

METHOD_AS_TEST_CASE ( TestFunction01::test00_usage  ,
"00_usage"   
)

◆ METHOD_AS_TEST_CASE() [2/17]

METHOD_AS_TEST_CASE ( TestFunction01::test01_memberfunc_this  ,
"01_memberfunc"   
)

◆ METHOD_AS_TEST_CASE() [3/17]

METHOD_AS_TEST_CASE ( TestFunction01::test02_freefunc_static  ,
"02_freefunc"   
)

◆ METHOD_AS_TEST_CASE() [4/17]

METHOD_AS_TEST_CASE ( TestFunction01::test03_stdfunc_lambda  ,
"03_stdfunc"   
)

◆ METHOD_AS_TEST_CASE() [5/17]

METHOD_AS_TEST_CASE ( TestFunction01::test04_capval_lambda  ,
"04_capval"   
)

◆ METHOD_AS_TEST_CASE() [6/17]

METHOD_AS_TEST_CASE ( TestFunction01::test05_capval_lambda  ,
"05_capval"   
)

◆ METHOD_AS_TEST_CASE() [7/17]

METHOD_AS_TEST_CASE ( TestFunction01::test06_capval_lambda  ,
"06_capval"   
)

◆ METHOD_AS_TEST_CASE() [8/17]

METHOD_AS_TEST_CASE ( TestFunction01::test07_capref_lambda  ,
"07_capref"   
)

◆ METHOD_AS_TEST_CASE() [9/17]

METHOD_AS_TEST_CASE ( TestFunction01::test08_lambda  ,
"08_lambda"   
)

◆ METHOD_AS_TEST_CASE() [10/17]

METHOD_AS_TEST_CASE ( TestFunction01::test09_lambda_ctti  ,
"09_lambda_ctti"   
)

◆ METHOD_AS_TEST_CASE() [11/17]

METHOD_AS_TEST_CASE ( TestFunction01::test10_lambda_id  ,
"10_lambda_id"   
)

◆ METHOD_AS_TEST_CASE() [12/17]

METHOD_AS_TEST_CASE ( TestFunction01::test11_memberfunc_this  ,
"11_memberfunc"   
)

◆ METHOD_AS_TEST_CASE() [13/17]

METHOD_AS_TEST_CASE ( TestFunction01::test12_freefunc_static  ,
"12_freefunc"   
)

◆ METHOD_AS_TEST_CASE() [14/17]

METHOD_AS_TEST_CASE ( TestFunction01::test13_stdfunc_lambda  ,
"13_stdfunc"   
)

◆ METHOD_AS_TEST_CASE() [15/17]

METHOD_AS_TEST_CASE ( TestFunction01::test14_capval_lambda  ,
"14_capval"   
)

◆ METHOD_AS_TEST_CASE() [16/17]

METHOD_AS_TEST_CASE ( TestFunction01::test15_ylambda  ,
"15_ylambda"   
)

◆ METHOD_AS_TEST_CASE() [17/17]

METHOD_AS_TEST_CASE ( TestFunction01::test20_misc  ,
"20_misc"   
)

Variable Documentation

◆ impl_name

std::string impl_name = "jau/functional.hpp"
static
Examples
test_functional.hpp.

Definition at line 33 of file test_functional.hpp.