FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
snl_fei_SetTraits.hpp
1 #ifndef _snl_fei_SetTraits_hpp_
2 #define _snl_fei_SetTraits_hpp_
3 
4 /*--------------------------------------------------------------------*/
5 /* Copyright 2006 Sandia Corporation. */
6 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
7 /* non-exclusive license for use of this work by or on behalf */
8 /* of the U.S. Government. Export of this program may require */
9 /* a license from the United States Government. */
10 /*--------------------------------------------------------------------*/
11 
12 #include <fei_macros.hpp>
13 
14 namespace snl_fei {
15 
22 template<typename SET_TYPE>
23 struct SetTraits {
25  static void insert(SET_TYPE* set_obj, typename SET_TYPE::key_type item)
26  { set_obj->insert(item); }
27 };
28 
29 }//namespace snl_fei
30 
31 #endif
32 
static void insert(SET_TYPE *set_obj, typename SET_TYPE::key_type item)