From 314a182a4035caa85d7fd6e1cc1b55a4c7defa49 Mon Sep 17 00:00:00 2001 From: "Frank B. Brokken" Date: Thu, 26 Jan 2017 15:37:20 +0100 Subject: [PATCH] wip --- annotations/yo/classtemplates.yo | 3 +++ annotations/yo/classtemplates/argdeduction.yo | 6 +----- annotations/yo/first/sizet.yo | 4 +++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/annotations/yo/classtemplates.yo b/annotations/yo/classtemplates.yo index a1a93e43..1cf2c38c 100644 --- a/annotations/yo/classtemplates.yo +++ b/annotations/yo/classtemplates.yo @@ -6,6 +6,9 @@ includefile(classtemplates/intro) subsubsect(Simple Definitions) includefile(classtemplates/simple) + subsubsect(Explicit Conversions) + includefile(classtemplates/explicit) + lsect(TEMPCLASSDEF)(Defining class templates) includefile(classtemplates/definitions) diff --git a/annotations/yo/classtemplates/argdeduction.yo b/annotations/yo/classtemplates/argdeduction.yo index 2900c08c..d7740642 100644 --- a/annotations/yo/classtemplates/argdeduction.yo +++ b/annotations/yo/classtemplates/argdeduction.yo @@ -55,10 +55,6 @@ template arguments of class templates. As long as no pointer is defined template argument of objects of class templates can be deduced by the compiler. In this case em(simple definitions) -are used. Alternatively, em(explicit type conversions may be specified. - - - -in facilities were considerations also All the above was The upcoming The members of the bf(C++) While preparing for the C++17 standard +are used. Alternatively, em(explicit) type conversions may be specified. diff --git a/annotations/yo/first/sizet.yo b/annotations/yo/first/sizet.yo index f32432fc..a211a67f 100644 --- a/annotations/yo/first/sizet.yo +++ b/annotations/yo/first/sizet.yo @@ -20,4 +20,6 @@ exceptional, though. Other useful bit-represented types also exists. E.g., ti(uint32_t) is guaranteed to hold 32-bits unsigned values. Analogously, ti(int32_t) holds 32-bits signed values. Corresponding types exist for 8, 16 and 64 bits -values. These types are defined in the header file ti(cstdint). +values. These types are defined in the header file ti(cstdint) and can be very +useful when you need to specify or use integral value types of fixed sizes. +