// Copyright (c) 2009 INRIA Sophia-Antipolis (France). // Copyright (c) 2011 GeometryFactory Sarl (France) // All rights reserved. // // This file is part of CGAL (www.cgal.org). // You can redistribute it and/or modify it under the terms of the GNU // General Public License as published by the Free Software Foundation, // either version 3 of the License, or (at your option) any later version. // // Licensees holding a valid commercial license may use this file in // accordance with the commercial license agreement provided with the software. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // // $URL$ // $Id$ // SPDX-License-Identifier: GPL-3.0+ // // Author(s) : Stéphane Tayeb, Laurent Rineau #ifndef CGAL_MESH_3_HAS_FEATURES_H #define CGAL_MESH_3_HAS_FEATURES_H #include #include #include namespace CGAL { namespace Mesh_3 { namespace internal { // A type has_Has_features to check if type 'Has_features' is a nested // type of any class BOOST_MPL_HAS_XXX_TRAIT_DEF(Has_features) template ::value> struct Has_features : public CGAL::Boolean_tag // when Mesh_domain has the nested type Has_features {}; template struct Has_features : public CGAL::Tag_false // when Mesh_domain does not have the nested type Has_features {}; } // end namespace internal } // end namespace Mesh_3 } // end namespace CGAL #endif // CGAL_MESH_3_HAS_FEATURES_H