naiveproxy/src/base/functional
2024-02-17 02:00:50 +08:00
..
bind_internal.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
bind_nocompile.nc Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
bind.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback_forward.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback_helpers.cc Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback_helpers.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback_internal.cc Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback_internal.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback_nocompile.nc Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback_tags.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
callback.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
concurrent_callbacks.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
concurrent_closures.cc Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
concurrent_closures.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
DEPS Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
disallow_unretained.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
function_ref_nocompile.nc Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
function_ref.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
overloaded_nocompile.nc Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
overloaded.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
README.md Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00
unretained_traits.h Import chromium-122.0.6261.43 2024-02-17 02:00:50 +08:00

base/functional library

[TOC]

What goes here

This directory contains function objects from future STL versions and closely related types.

Things should be moved here that are generally applicable across the code base. Don't add things here just because you need them in one place and think others may someday want something similar. You can put specialized function objects in your component's directory and we can promote them here later if we feel there is broad applicability.

Design and naming

Fundamental //base principles apply, i.e.:

Function objects should either come directly from the STL or adhere as closely to STL as possible. Functions and behaviors not present in STL should only be added when they are related to the specific function objects.

For STL-like function objects our policy is that they should use STL-like naming even when it may conflict with the style guide. So functions and class names should be lower case with underscores. Non-STL-like classes and functions should use Google naming. Be sure to use the base namespace.