RE: [litwindow-users] Now implemented : Re: <map> as container
Status: Alpha
Brought to you by:
hajokirchhoff
|
From: yrs90 <yr...@ya...> - 2005-04-26 06:03:01
|
> I am about to commit changes that allow a map<> to be used with
> container adapters.
I tried the updated code you submitted. (In fact I tried a messier version
of the same thing at one point yesterday using <pair> rather than
value_type.) However even using your updates, I get an error from RapidUI.
Now I realize I might have been focusing on the container when the problem
is now my rule.
I have a rule which states:
RULE("xrcList", make_expr<accessor>("m_MapOfItems"))
When I run, I get the assertion during startup:
std::runtime_error: from_accessor method not implemented
The assertion appears to be correct. The from_accessor looks like it is not
implemented when <pair> is declared ...ADAPTER_NO_COPY. However, without
NO_COPY there will be problems because of operator=. Why doesn't it want to
play with the list?
Regards,
Joel
---
[This E-mail scanned for viruses by Declude Virus]
|