diff options
author | David Chisnall <dchisnall@pathscale.com> | 2012-03-22 17:02:29 +0000 |
---|---|---|
committer | David Chisnall <dchisnall@pathscale.com> | 2012-03-22 17:02:29 +0000 |
commit | d48277e2a7749bd2555e0b75f30ed33225462429 (patch) | |
tree | bff54ad59db9bc125af9a76bba689a6c7636fd1a /src/typeinfo.h | |
parent | cddcf8734ed06ada9384a461bc21d58b44f6eba1 (diff) | |
download | libcxxrt-d48277e2a7749bd2555e0b75f30ed33225462429.tar.gz libcxxrt-d48277e2a7749bd2555e0b75f30ed33225462429.tar.bz2 libcxxrt-d48277e2a7749bd2555e0b75f30ed33225462429.tar.xz |
Rearrange the virtual functions in type_info to match the gcc layout,
rather than the FreeBSD layout.
Diffstat (limited to 'src/typeinfo.h')
-rw-r--r-- | src/typeinfo.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/typeinfo.h b/src/typeinfo.h index 8223977..6bfbf0b 100644 --- a/src/typeinfo.h +++ b/src/typeinfo.h @@ -70,6 +70,14 @@ namespace std */ public: /** + * Returns true if this is some pointer type, false otherwise. + */ + virtual bool __is_pointer_p() const { return false; } + /** + * Returns true if this is some function type, false otherwise. + */ + virtual bool __is_function_p() const { return false; } + /** * Catch function. Allows external libraries to implement * their own basic types. This is used, for example, in the * GNUstep Objective-C runtime to allow Objective-C types to be @@ -95,14 +103,6 @@ namespace std { return false; } - /** - * Returns true if this is some pointer type, false otherwise. - */ - virtual bool __is_pointer_p() const { return false; } - /** - * Returns true if this is some function type, false otherwise. - */ - virtual bool __is_function_p() const { return false; } }; } |