From 8286ac511144e4f17d34eac9affb97e50646344a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 15:25:44 +0200 Subject: Imported Upstream version 4.0.0 --- libcult/cult/meta/polymorphic-p.hxx | 56 ------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 libcult/cult/meta/polymorphic-p.hxx (limited to 'libcult/cult/meta/polymorphic-p.hxx') diff --git a/libcult/cult/meta/polymorphic-p.hxx b/libcult/cult/meta/polymorphic-p.hxx deleted file mode 100644 index 0743de3..0000000 --- a/libcult/cult/meta/polymorphic-p.hxx +++ /dev/null @@ -1,56 +0,0 @@ -// file : cult/meta/polymorphic-p.hxx -// author : Boris Kolpackov -// copyright : Copyright (c) 2005-2010 Boris Kolpackov -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -#ifndef CULT_META_POLYMORPHIC_HXX -#define CULT_META_POLYMORPHIC_HXX - -#include - -#include -#include - -namespace Cult -{ - namespace Meta - { - template - class polymorphic_p - { - typedef typename remove_cv::R X; - - template - struct impl - { - static const Boolean r = false; - }; - - template - struct impl - { - //@@ private - - struct S1 : Y - { - S1 (); - }; - - struct S2 : Y - { - S2 (); - - virtual - ~S2 () throw (); - }; - - static const Boolean r = sizeof (S1) == sizeof (S2); - }; - - public: - static const Boolean r = impl::r>::r; - }; - } -} - -#endif // CULT_META_POLYMORPHIC_HXX -- cgit v1.2.3