From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- cutl/meta/polymorphic-p.hxx | 51 --------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 cutl/meta/polymorphic-p.hxx (limited to 'cutl/meta/polymorphic-p.hxx') diff --git a/cutl/meta/polymorphic-p.hxx b/cutl/meta/polymorphic-p.hxx deleted file mode 100644 index da1a3f9..0000000 --- a/cutl/meta/polymorphic-p.hxx +++ /dev/null @@ -1,51 +0,0 @@ -// file : cutl/meta/polymorphic-p.hxx -// license : MIT; see accompanying LICENSE file - -#ifndef CUTL_META_POLYMORPHIC_HXX -#define CUTL_META_POLYMORPHIC_HXX - -#include - -#include -#include - -namespace cutl -{ - namespace meta - { - template - struct polymorphic_p - { - typedef typename remove_cv::r X; - - template - struct impl - { - static const bool r = false; - }; - - template - struct impl - { - struct t1: Y - { - t1 (); - }; - - struct t2: Y - { - t2 (); - - virtual - ~t2 () LIBCUTL_NOTHROW_NOEXCEPT; - }; - - static const bool r = sizeof (t1) == sizeof (t2); - }; - - static const bool r = impl::r>::r; - }; - } -} - -#endif // CUTL_META_POLYMORPHIC_HXX -- cgit v1.1