• Home
Name Date Size #Lines LOC

..--

DEPSD06-Sep-202480 43

README.mdD06-Sep-20241.1 KiB2819

bind.hD06-Sep-202416.9 KiB443133

bind_internal.hD06-Sep-202476.8 KiB2,0291,276

bind_nocompile.ncD06-Sep-202420.5 KiB596460

bind_unittest.ccD06-Sep-202466.9 KiB2,1201,564

callback.hD06-Sep-202419.4 KiB519292

callback_forward.hD06-Sep-2024687 2511

callback_helpers.ccD06-Sep-20241,019 4429

callback_helpers.hD06-Sep-202410.8 KiB303170

callback_helpers_unittest.ccD06-Sep-202416.4 KiB425335

callback_internal.ccD06-Sep-20241.9 KiB7352

callback_internal.hD06-Sep-20248.6 KiB254161

callback_nocompile.ncD06-Sep-20245.3 KiB145113

callback_tags.hD06-Sep-2024922 3519

callback_unittest.ccD06-Sep-202427.2 KiB800662

disallow_unretained.hD06-Sep-20242.9 KiB7210

function_ref.hD06-Sep-20244 KiB10739

function_ref_nocompile.ncD06-Sep-20242 KiB5741

function_ref_unittest.ccD06-Sep-20242.1 KiB9165

not_fn.hD06-Sep-20241.4 KiB5634

not_fn_unittest.ccD06-Sep-2024680 2413

overloaded.hD06-Sep-20241.5 KiB5211

overloaded_nocompile.ncD06-Sep-2024760 2517

overloaded_unittest.ccD06-Sep-2024727 2816

unretained_traits.hD06-Sep-20245.5 KiB158107

README.md

1# base/functional library
2
3[TOC]
4
5## What goes here
6
7This directory contains function objects from future STL versions and closely
8related types.
9
10Things should be moved here that are generally applicable across the code base.
11Don't add things here just because you need them in one place and think others
12may someday want something similar. You can put specialized function objects in
13your component's directory and we can promote them here later if we feel there
14is broad applicability.
15
16### Design and naming
17
18Fundamental [//base principles](../README.md#design-and-naming) apply, i.e.:
19
20Function objects should either come directly from the STL or adhere as closely
21to STL as possible. Functions and behaviors not present in STL should only be
22added when they are related to the specific function objects.
23
24For STL-like function objects our policy is that they should use STL-like naming
25even when it may conflict with the style guide. So functions and class names
26should be lower case with underscores. Non-STL-like classes and functions should
27use Google naming. Be sure to use the base namespace.
28