Boost logo

Boost Users :

Subject: Re: [Boost-users] Problems with stl::map
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-04-01 23:27:39


AMDG

On 04/01/2013 06:14 PM, Michael Powell wrote:
> Hello,
>
> Perhaps there is a boost answer for this, I don't know.
>
> I have a typedef unsigned char byte defined in global scope. Then a typedef
> byte address_type defined in the scope of a class.
>
> I'd like to setup a std::map<address_type, byte> if at all possible.
>
> Or just in general, use std::map, but it doesn't seem to like anything I
> give it.
>
> I am building using GCC 4.7.2 cross compiling to ARM through Sourcery
> CodeBench for ARM.
>
> Kind of at a loss.
>

What kind of errors do you get? There shouldn't be
any problem with this.

In Christ,
Steven Watanabe


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