ViennaGrid - The Vienna Grid Library
2.1.0
|
00001 #ifndef VIENNAGRID_FUNCTORS_HPP 00002 #define VIENNAGRID_FUNCTORS_HPP 00003 00004 /* ======================================================================= 00005 Copyright (c) 2011-2014, Institute for Microelectronics, 00006 Institute for Analysis and Scientific Computing, 00007 TU Wien. 00008 00009 ----------------- 00010 ViennaGrid - The Vienna Grid Library 00011 ----------------- 00012 00013 License: MIT (X11), see file LICENSE in the base directory 00014 ======================================================================= */ 00015 00020 namespace viennagrid 00021 { 00023 struct true_functor 00024 { 00025 typedef bool result_type; 00026 00027 template<typename ValueT> 00028 bool operator()(ValueT const &) const 00029 { return true; } 00030 }; 00031 } 00032 00033 00034 #endif