summaryrefslogtreecommitdiff
path: root/misc/uClibc++/include/uClibc++/typeinfo
diff options
context:
space:
mode:
Diffstat (limited to 'misc/uClibc++/include/uClibc++/typeinfo')
-rw-r--r--misc/uClibc++/include/uClibc++/typeinfo22
1 files changed, 11 insertions, 11 deletions
diff --git a/misc/uClibc++/include/uClibc++/typeinfo b/misc/uClibc++/include/uClibc++/typeinfo
index 88a2639b8..306f214fd 100644
--- a/misc/uClibc++/include/uClibc++/typeinfo
+++ b/misc/uClibc++/include/uClibc++/typeinfo
@@ -8,12 +8,12 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.
-//
+//
// GNU CC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-//
+//
// You should have received a copy of the GNU General Public License
// along with GNU CC; see the file COPYING. If not, write to
// the Free Software Foundation, 59 Temple Place - Suite 330,
@@ -52,7 +52,7 @@ namespace __cxxabiv1
#define __GXX_MERGED_TYPEINFO_NAMES 1
#endif
-namespace std
+namespace std
{
/**
* @brief Part of RTTI.
@@ -60,7 +60,7 @@ namespace std
* The @c type_info class describes type information generated by
* an implementation.
*/
- class type_info
+ class type_info
{
public:
/** Destructor. Being the first non-inline virtual function, this
@@ -73,13 +73,13 @@ namespace std
/// Assigning type_info is not supported. Made private.
type_info& operator=(const type_info&);
type_info(const type_info&);
-
+
protected:
const char *__name;
-
+
protected:
explicit type_info(const char *__n): __name(__n) { }
-
+
public:
// the public interface
/** Returns an @e implementation-defined byte string; this is not
@@ -105,7 +105,7 @@ namespace std
#endif
bool operator!=(const type_info& __arg) const
{ return !operator==(__arg); }
-
+
// the internal interface
public:
// return true if this is a pointer type of some kind
@@ -132,7 +132,7 @@ namespace std
*
* If you attempt an invalid @c dynamic_cast expression, an instance of
* this class (or something derived from this class) is thrown. */
- class bad_cast : public exception
+ class bad_cast : public exception
{
public:
bad_cast() throw() { }
@@ -140,9 +140,9 @@ namespace std
// http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
virtual ~bad_cast() throw();
};
-
+
/** If you use a NULL pointer in a @c typeid expression, this is thrown. */
- class bad_typeid : public exception
+ class bad_typeid : public exception
{
public:
bad_typeid () throw() { }