FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
snl_fei_SetTraits_specialize.hpp
1 #ifndef _snl_fei_SetTraits_specialize_hpp_
2 #define _snl_fei_SetTraits_specialize_hpp_
3 
4 /*--------------------------------------------------------------------*/
5 /* Copyright 2005 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 #include <fei_ctg_set.hpp>
14 #include <snl_fei_SetTraits.hpp>
15 
16 namespace snl_fei {
17 
19 template<>
20 struct SetTraits<fei::ctg_set<int> > {
22  static void insert(fei::ctg_set<int>* set_obj, int item)
23  { set_obj->insert2(item); }
24 };
25 
26 }//namespace snl_fei
27 #endif
28 
void insert2(const T &item)
static void insert(SET_TYPE *set_obj, typename SET_TYPE::key_type item)