Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost] [fusion] fusion::map doesn't define 'category'
From: niXman (i.nixman_at_[hidden])
Date: 2012-07-27 10:55:36


2012/7/27 Steve Lorimer:
> I am attempting to create a fusion map which looks like:
>
> map< pair<field1, int>, pair<field2, int> >
>
> I am then attempting to find out if field1 exists in the map using has_key,
> but am getting a compile error:
>
> error: no type named ‘category’ in ‘struct
> boost::fusion::result_of::as_map<boost::fusion::vector2<boost::fusion::pair<field1,
> int>, boost::fusion::pair<field2, int> > >

http://liveworkspace.org/code/939832539ec300274d05282ec870e954

-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net