Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00020 
00021 #ifndef __STRAT_PAIR_HH
00022 # define __STRAT_PAIR_HH
00023 
00024 # include "../../patterns/pattern.hh"
00025 # include "../../patterns/pair.hh"
00026 # include "build.hh"
00027 # include "match.hh"
00028 
00029 namespace aurelia {
00030 
00034   template <typename A, typename B>
00035   build_strategy<pair_pattern<A, B> > operator!(const pair_pattern<A,B>& p) {
00036     return build_strategy<pair_pattern<A, B> >(p);
00037   }
00038 
00042   template <typename A, typename B>
00043   match_strategy<pair_pattern<A, B> > operator~(const pair_pattern<A,B>& p) {
00044     return match_strategy<pair_pattern<A, B> >(p);
00045   }
00046 
00047 }
00048 
00049 #endif