From 5d936acc05e79f60bae84e4c61d46aee759c93c7 Mon Sep 17 00:00:00 2001
From: K-ballo
Date: Mon, 11 Aug 2014 09:43:28 -0300
Subject: [PATCH] Added is_final type trait. Added BOOST_IS_FINAL intrinsic.
---
doc/html/boost_typetraits/intrinsics.html | 18 ++-
doc/html/boost_typetraits/reference.html | 1 +
.../boost_typetraits/reference/is_enum.html | 6 +-
.../boost_typetraits/reference/is_final.html | 105 ++++++++++++++++++
.../reference/is_floating_point.html | 6 +-
doc/html/index.html | 1 +
doc/html/index/s11.html | 3 +-
doc/html/index/s12.html | 2 +-
doc/html/index/s13.html | 9 +-
doc/html/index/s14.html | 17 ++-
doc/intrinsics.qbk | 4 +-
doc/is_final.qbk | 47 ++++++++
doc/type_traits.qbk | 2 +
include/boost/type_traits/intrinsics.hpp | 6 +
include/boost/type_traits/is_final.hpp | 41 +++++++
test/is_final_test.cpp | 72 ++++++++++++
test/test.hpp | 5 +
17 files changed, 333 insertions(+), 12 deletions(-)
create mode 100644 doc/html/boost_typetraits/reference/is_final.html
create mode 100644 doc/is_final.qbk
create mode 100644 include/boost/type_traits/is_final.hpp
create mode 100644 test/is_final_test.cpp
diff --git a/doc/html/boost_typetraits/intrinsics.html b/doc/html/boost_typetraits/intrinsics.html
index 2458b75..80d5626 100644
--- a/doc/html/boost_typetraits/intrinsics.html
+++ b/doc/html/boost_typetraits/intrinsics.html
@@ -38,6 +38,9 @@
for all types (but all have safe fallback positions if this support is unavailable):
+-
+ is_final
+
-
is_union
@@ -360,7 +363,20 @@
- Should evaluate to the alignment requirements of type T.
+ Should evaluate to the alignment requirements of type T
+
+ |
+
+
+
+
+ BOOST_IS_FINAL(T)
+
+ |
+
+
+ Should evaluate to true if T is a class type declared with the final
+ specifier
|
diff --git a/doc/html/boost_typetraits/reference.html b/doc/html/boost_typetraits/reference.html
index 6a6d0c6..f47511e 100644
--- a/doc/html/boost_typetraits/reference.html
+++ b/doc/html/boost_typetraits/reference.html
@@ -109,6 +109,7 @@
- is_copy_constructible
- is_empty
- is_enum
+- is_final
- is_floating_point
- is_function
- is_fundamental
diff --git a/doc/html/boost_typetraits/reference/is_enum.html b/doc/html/boost_typetraits/reference/is_enum.html
index c9fa5ad..bbc3cbd 100644
--- a/doc/html/boost_typetraits/reference/is_enum.html
+++ b/doc/html/boost_typetraits/reference/is_enum.html
@@ -7,7 +7,7 @@
-
+