• Main Page
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

/data/development/ViennaCL/dev/viennacl/meta/enable_if.hpp

Go to the documentation of this file.
00001 #ifndef VIENNACL_META_ENABLE_IF_HPP_
00002 #define VIENNACL_META_ENABLE_IF_HPP_
00003 
00004 /* =========================================================================
00005    Copyright (c) 2010-2011, Institute for Microelectronics,
00006                             Institute for Analysis and Scientific Computing,
00007                             TU Wien.
00008 
00009                             -----------------
00010                   ViennaCL - The Vienna Computing Library
00011                             -----------------
00012 
00013    Project Head:    Karl Rupp                   rupp@iue.tuwien.ac.at
00014                
00015    (A list of authors and contributors can be found in the PDF manual)
00016 
00017    License:         MIT (X11), see file LICENSE in the base directory
00018 ============================================================================= */
00019 
00024 #include <string>
00025 #include <fstream>
00026 #include <sstream>
00027 #include "viennacl/forwards.h"
00028 
00029 
00030 #include <vector>
00031 #include <map>
00032 
00033 namespace viennacl
00034 {
00036     template <bool b, class T = void> 
00037     struct enable_if
00038     {
00039       typedef T   type;
00040     };
00041 
00042     template <class T> 
00043     struct enable_if<false, T> {};
00044 
00045 } //namespace viennacl
00046     
00047 
00048 #endif

Generated on Fri Dec 30 2011 23:20:43 for ViennaCL - The Vienna Computing Library by  doxygen 1.7.1