From ae6f2fa9c68b52a253f32631dd2dcfb8edd4d87f Mon Sep 17 00:00:00 2001 From: Jeff Walden Date: Mon, 25 Mar 2013 12:05:19 -0700 Subject: [PATCH] Add [specref] references to all the section-comments in TypeTraits.h, to further ease reading/searching. Followup to bug 853988, suggested by froydnj --HG-- extra : rebase_source : 896b6abb3430b890a8de699fc044d0cd0624936a --- mfbt/TypeTraits.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/mfbt/TypeTraits.h b/mfbt/TypeTraits.h index 28c19e4f7bc..661912e1163 100644 --- a/mfbt/TypeTraits.h +++ b/mfbt/TypeTraits.h @@ -17,7 +17,7 @@ namespace mozilla { -/* 20.9.3 Helper classes */ +/* 20.9.3 Helper classes [meta.help] */ /** * Helper class used as a base for various type traits, exposed publicly @@ -35,9 +35,9 @@ struct IntegralConstant typedef IntegralConstant TrueType; typedef IntegralConstant FalseType; -/* 20.9.4 Unary type traits */ +/* 20.9.4 Unary type traits [meta.unary] */ -/* 20.9.4.1 Primary type categories */ +/* 20.9.4.1 Primary type categories [meta.unary.cat] */ /** * IsPointer determines whether a type is a pointer type (but not a pointer-to- @@ -55,9 +55,9 @@ struct IsPointer : FalseType {}; template struct IsPointer : TrueType {}; -/* 20.9.4.2 Composite type traits */ +/* 20.9.4.2 Composite type traits [meta.unary.comp] */ -/* 20.9.4.3 Type properties */ +/* 20.9.4.3 Type properties [meta.unary.prop] */ /** * Traits class for identifying POD types. Until C++11 there's no automatic @@ -87,9 +87,9 @@ template<> struct IsPod : TrueType {}; template<> struct IsPod : TrueType {}; template struct IsPod : TrueType {}; -/* 20.9.5 Type property queries */ +/* 20.9.5 Type property queries [meta.unary.prop.query] */ -/* 20.9.6 Relationships between types */ +/* 20.9.6 Relationships between types [meta.rel] */ /** * IsSame tests whether two types are the same type. @@ -223,19 +223,19 @@ struct IsConvertible : IntegralConstant::value> {}; -/* 20.9.7 Transformations between types */ +/* 20.9.7 Transformations between types [meta.trans] */ -/* 20.9.7.1 Const-volatile modifications */ +/* 20.9.7.1 Const-volatile modifications [meta.trans.cv] */ -/* 20.9.7.2 Reference modifications */ +/* 20.9.7.2 Reference modifications [meta.trans.ref] */ -/* 20.9.7.3 Sign modifications */ +/* 20.9.7.3 Sign modifications [meta.trans.sign] */ -/* 20.9.7.4 Array modifications */ +/* 20.9.7.4 Array modifications [meta.trans.arr] */ -/* 20.9.7.5 Pointer modifications */ +/* 20.9.7.5 Pointer modifications [meta.trans.ptr] */ -/* 20.9.7.6 Other transformations */ +/* 20.9.7.6 Other transformations [meta.trans.other] */ /** * EnableIf is a struct containing a typedef of T if and only if B is true.