X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fmoof%2Fcml%2Fcore%2Fmeta%2Fif.h;fp=src%2Fmoof%2Fcml%2Fcore%2Fmeta%2Fif.h;h=0000000000000000000000000000000000000000;hb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;hp=1ea32350f5913f38b176e9b5e44ffaa09d16f867;hpb=85783316365181491a3e3c0c63659972477cebba;p=chaz%2Fyoink diff --git a/src/moof/cml/core/meta/if.h b/src/moof/cml/core/meta/if.h deleted file mode 100644 index 1ea3235..0000000 --- a/src/moof/cml/core/meta/if.h +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- C++ -*- ------------------------------------------------------------ - -Copyright (c) 2007 Jesse Anders and Demian Nave http://cmldev.net/ - -The Configurable Math Library (CML) is distributed under the terms of the -Boost Software License, v1.0 (see cml/LICENSE for details). - - *-----------------------------------------------------------------------*/ -/** @file - * @brief - */ - -#ifndef meta_if_h -#define meta_if_h - -#include - -namespace cml { - -/** Select argument type based upon truth value. */ -template struct select_if; - -/** Result is TrueT if true. */ -template -struct select_if { - typedef TrueT result; - enum { is_true = true }; -}; - -/** Result is FalseT if false. */ -template -struct select_if { - typedef FalseT result; - enum { is_true = false }; -}; - -} // namespace cml - -#endif - -// ------------------------------------------------------------------------- -// vim:ft=cpp