• Home
Name Date Size #Lines LOC

..--

DEPSD03-May-202480 43

README.mdD03-May-20241.1 KiB2819

bind.hD03-May-202418.6 KiB482158

bind_internal.hD03-May-202471.3 KiB1,8591,157

bind_unittest.ccD03-May-202466.6 KiB2,1071,557

bind_unittest.ncD03-May-202424 KiB596460

callback.hD03-May-202418.9 KiB497274

callback_forward.hD03-May-2024687 2511

callback_helpers.ccD03-May-20241,019 4429

callback_helpers.hD03-May-20247.9 KiB226122

callback_helpers_unittest.ccD03-May-202410 KiB301232

callback_internal.ccD03-May-20241.9 KiB7352

callback_internal.hD03-May-20247.8 KiB220130

callback_tags.hD03-May-2024922 3519

callback_unittest.ccD03-May-202426.8 KiB782651

callback_unittest.ncD03-May-20245.8 KiB145113

disallow_unretained.hD03-May-20242.9 KiB7210

function_ref.hD03-May-20244 KiB10739

function_ref_unittest.ccD03-May-20242.1 KiB9165

function_ref_unittest.ncD03-May-20242.3 KiB5741

identity.hD03-May-2024645 2913

identity_unittest.ccD03-May-2024470 2412

invoke.hD03-May-20245.1 KiB15384

invoke_unittest.ccD03-May-2024959 3519

not_fn.hD03-May-20241.4 KiB5734

not_fn_unittest.ccD03-May-2024680 2413

overloaded.hD03-May-20241.5 KiB5211

overloaded_unittest.ccD03-May-2024727 2816

overloaded_unittest.ncD03-May-2024760 2517

unretained_traits.hD03-May-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