The Boost C++ Libraries: Generic Programming
內容描述
This book covers 24 Boost C++ Libraries: 1 Type Traits BOOST_CHECK_TYPE add_const add_lvalue_reference add_pointer add_reference add_rvalue_reference common_type BOOST_CHECK_INTEGRAL_CONSTANT conditional function_traits is_abstract is_arithmetic is_array is_base_and_derived is_base_of is_const is_enum is_function is_fundamental is_integral is_lvalue_reference is_member_function_pointer is_member_object_pointer is_member_pointer is_nothrow_move_assignable is_nothrow_move_constructible is_object is_pointer is_polymorphic is_reference is_rvalue_reference is_same is_scalar is_signed is_stateless is_virtual_base_of is_void has_virtual_destructor 2 Call Traits boost::compressed_pair make_pair reference to reference optimizing fill Emulating Partial Specialization 3 Concept Check BOOST_CONCEPT_ASSERT BOOST_CONCEPT_REQUIRES Multi-Type Concepts Creating Concept Checking Classes Concept Covering and Archetypes 4 Enable Disable SFINAE Enabling function templates Enabling template class specializations Overlapping enabler conditions Lazy Version 5 Function Types is_function is_function_pointer is_function_reference is_member_pointer is_member_object_pointer is_member_function_pointer function_arity 6 Generic Image Library Computing the Image Gradient Using Locators GIL Algorithms Image View Transformations 1D pixel iterators STL Equivalent Algorithms Virtual Image Views resize affine convolution histogram packed_pixel dynamic_image 7 In Place Factory, Typed In Place Factory 8 Operators Base Class Chaining and Object Size Arithmetic Operators Ordering Symmetry Return Value Optimization Grouped Arithmetic Operators Final Arithmetic Operator Template Classes Dereference Operators and Iterator Helpers Dereference Operators Grouped Iterator Operators Iterator Helpers 9 Property Map Readable Property Map Writable Property Map Read/Write Property Map Lvalue Property Map Property Map Traits function_property_map iterator_property_map shared_array_property_map associative_property_map const_associative_property_map vector_property_map ref_property_map transform_value_property_map Compose Property Map 10 Distributed Property Map Consistency models Reduction operation Distributed property map adaptor Distributed iterator property map Local property map 11 Static Assert 12 Swap 13 Identity Type 14 Ref reference_wrapper is_reference_wrapper unwrap_reference Compile Time Run Time Implementation 15 Scope Exit 16 Compressed Pair 17 Base-from-Member Idiom 18 Checked Delete 19 Next Prior 20 Non Copyable 21 Address Of 22 Result Of 23 BOOST_BINARY 24 Type Traits Introspection Introspecting an inner type Introspecting an inner class template Variadic macro usage Using the hastemplate(xxx) metafunction Introspecting member data Introspecting member function Introspecting static member data Introspecting static member function Introspecting inner data Introspecting an inner function Nested Types Checking if the member type exists Nested Types and Function Signatures Function Templates