From: Wolfgang Bangerth Date: Sun, 29 Mar 2009 04:09:30 +0000 (+0000) Subject: Add a class internal::bool2type X-Git-Tag: v8.0.0~7939 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e66f0c47be10a626596bb1297a73a0a801294e19;p=dealii.git Add a class internal::bool2type git-svn-id: https://svn.dealii.org/trunk@18522 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/template_constraints.h b/deal.II/base/include/base/template_constraints.h index 3043d667e0..9c040a0f69 100644 --- a/deal.II/base/include/base/template_constraints.h +++ b/deal.II/base/include/base/template_constraints.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2003, 2004, 2005, 2006, 2008 by the deal.II authors +// Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -207,6 +207,16 @@ namespace internal template struct int2type {}; + + +/** + * The equivalent of the int2type class for boolean arguments. + * + * @author Wolfgang Bangerth, 2009 + */ + template + struct bool2type + {}; }