summaryrefslogtreecommitdiff
path: root/libcult/cult/meta/class-p.hxx
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:25:44 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:25:44 +0200
commit8286ac511144e4f17d34eac9affb97e50646344a (patch)
treef1af7320d7b6be6be059216d0ad08ac7b4f73fd0 /libcult/cult/meta/class-p.hxx
parenta15cf65c44d5c224169c32ef5495b68c758134b7 (diff)
Imported Upstream version 4.0.0upstream/4.0.0
Diffstat (limited to 'libcult/cult/meta/class-p.hxx')
-rw-r--r--libcult/cult/meta/class-p.hxx33
1 files changed, 0 insertions, 33 deletions
diff --git a/libcult/cult/meta/class-p.hxx b/libcult/cult/meta/class-p.hxx
deleted file mode 100644
index 6ac056d..0000000
--- a/libcult/cult/meta/class-p.hxx
+++ /dev/null
@@ -1,33 +0,0 @@
-// file : cult/meta/class-p.hxx
-// author : Boris Kolpackov <boris@kolpackov.net>
-// copyright : Copyright (c) 2005-2010 Boris Kolpackov
-// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-
-#ifndef CULT_META_CLASS_HXX
-#define CULT_META_CLASS_HXX
-
-#include <cult/types/fundamental.hxx>
-
-#include <cult/meta/answer.hxx>
-
-namespace Cult
-{
- namespace Meta
- {
- template <typename X>
- class class_p
- {
- //@@ g++ bug 14881
- public:
- template <typename Y> static No test (...);
- template <typename Y> static Yes test (Void* Y::*);
-
- public:
- //@@ Qualification bug fixed for g++ 3.4.0.
- static Boolean const r =
- sizeof (class_p<X>::template test<X> (0)) == sizeof (Yes);
- };
- }
-}
-
-#endif // CULT_META_CLASS_HXX