Utils: Revamp documentation overview and add some missing docs
[senf.git] / Utils / safe_bool.cti
similarity index 78%
rename from Utils/SafeBool.cti
rename to Utils/safe_bool.cti
index f2618e6..d552792 100644 (file)
@@ -21,9 +21,9 @@
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 /** \file
-    \brief SafeBool inline template implementation */
+    \brief safe_bool inline template implementation */
 
-//#include "SafeBool.ih"
+//#include "safe_bool.ih"
 
 // Custom includes
 
 ///////////////////////////////cti.p///////////////////////////////////////
 
 template <typename T>
-prefix_ senf::ComparableSafeBool<T>::operator bool_type()
+prefix_ senf::comparable_safe_bool<T>::operator bool_type()
     const
 {
     return (static_cast<const T*>(this))->boolean_test()
-        ? &SafeBoolBase::this_type_does_not_support_comparisons : 0;
+        ? &safe_bool_base::this_type_does_not_support_comparisons : 0;
 }
 
 template <typename T>
-prefix_ bool senf::ComparableSafeBool<T>::operator!()
+prefix_ bool senf::comparable_safe_bool<T>::operator!()
     const
 {
     return ! (static_cast<const T*>(this))->boolean_test();
 }
 
 template <typename T>
-prefix_ senf::ComparableSafeBool<T>::~ComparableSafeBool()
+prefix_ senf::comparable_safe_bool<T>::~comparable_safe_bool()
 {}
 
 template <typename T, typename U>
-prefix_ void senf::operator==(const SafeBool<T>& lhs, const SafeBool<U>& rhs)
+prefix_ void senf::operator==(const safe_bool<T>& lhs, const safe_bool<U>& rhs)
 {
     lhs.this_type_does_not_support_comparisons();
 }
 
 template <typename T, typename U>
-prefix_ void senf::operator!=(const SafeBool<T>& lhs, const SafeBool<U>& rhs)
+prefix_ void senf::operator!=(const safe_bool<T>& lhs, const safe_bool<U>& rhs)
 {
     lhs.this_type_does_not_support_comparisons();
 }