... Fair enough. I had assumed it was like the tree behind the std associative containers - i.e., not for public use. One further thought - it would be nice...
Mark Rodgers
mark.rodgers@...
Jun 1, 2000 8:18 am
3314
... 1. That's a privilege reserved to implementations (when you use the STLport you are changing implementations). 2. I don't want to get into the business of...
Dave Abrahams
abrahams@...
Jun 1, 2000 10:34 am
3315
Well, Since I've been working on this for some time now, I decided to put it in the vault (folder synchronization). It's a first stab at defining an interface...
Branko ibej
branko.cibej@...
Jun 1, 2000 10:46 am
3316
From: Dave Abrahams <abrahams@... ... STLport ... If we have a non-conformant implementation, I'm not sure what harm there is in doing something...
Mark Rodgers
mark.rodgers@...
Jun 1, 2000 11:10 am
3317
... Aha, generate_n! I *knew* there was an algorithm for something like that, but didn't find it when I was writing my tests. ... This test is a cool idea;...
Dave Abrahams
abrahams@...
Jun 1, 2000 11:20 am
3318
... I really agree, but it's a balancing act I think. A boost library may only be as valuable as the number of people that adopt it. If you don't provide a ...
Dave Abrahams
abrahams@...
Jun 1, 2000 11:28 am
3319
... Oh, and another thing: in this case you could run out of memory for the intermediate size of the vector. If there were lots of duplicate elements, the...
Dave Abrahams
abrahams@...
Jun 1, 2000 11:45 am
3320
... It took me a long time to figure out what you were saying above, but I think I have it now. AFAIK, the standard says that if you provide a hint which ...
Dave Abrahams
abrahams@...
Jun 1, 2000 11:56 am
3321
... Ah, but CW supports partial specialization, so this piece of code is never seen by your compiler ;)...
Dave Abrahams
abrahams@...
Jun 1, 2000 11:59 am
3322
... <*.h> ... the ... Kevlin isn't the only one suggesting just using the <*.h> C headers. The first time I heard it, I was horrified. But given how messy the...
Beman Dawes
beman@...
Jun 1, 2000 1:09 pm
3323
... users' ... I write ... may only ... provide a ... see lots ... portability, ... I agree strongly with the above. This is a balancing act. By the way, we...
Beman Dawes
beman@...
Jun 1, 2000 1:42 pm
3324
... Brane, Thanks for posting your code, but I think you may be missing the point. Until we know what we are trying to achieve and what our requirements are,...
Beman Dawes
beman@...
Jun 1, 2000 2:14 pm
3325
From: "Dave Abrahams" <abrahams@...> ... users' ... I write ... may only ... IMHO, we already achieve this balance with BOOST_NO_STDC_NAMESPACE, which...
Ed Brey
brey@...
Jun 1, 2000 2:41 pm
3326
From: "Ed Brey" <brey@...> ... Nuts! I added on the __STL_IMPORT_VENDOR_CSTD bit at the end without thinking. Assuming checking that STLport...
Ed Brey
brey@...
Jun 1, 2000 2:45 pm
3327
... But what I care about is the code inside boost... the code you and I and the rest of us write... I want to be able to write std::size_t in boost libraries...
jsiek@...
Jun 1, 2000 5:04 pm
3328
Paul Tozour
paultoz@...
Jun 1, 2000 5:50 pm
3329
... That sure is a different reading of the standard than I have heard. No wonder that part has caused so much confusion. I read the standard as saying O(1)...
John E. Potter
jpotter@...
Jun 1, 2000 5:51 pm
3330
... associative_vector<int, int, identity<int>, less<int> > v; sort(v.begin(), v.end(), greater<int>()); As long as that does not bother you. ... Yes. It will...
John E. Potter
jpotter@...
Jun 1, 2000 6:03 pm
3331
... existing ... new ... Well, no actually. I've added a reserve and the results are pretty much identical. Mark...
Mark Rodgers
mark.rodgers@...
Jun 1, 2000 7:28 pm
3332
... all. One major downside to that course is that some implementations cause the equivalent of "using namespace std;" if you #include even _one_ such header. ...
Dave Abrahams
abrahams@...
Jun 1, 2000 8:31 pm
3333
... Eek! We're doing this already? Well then, far be it from me to interfere with precedent. ... BOOST_NO_STDC_NAMESPACE ... work ... the ... That's OK with...
Dave Abrahams
abrahams@...
Jun 1, 2000 8:41 pm
3334
Dave Abrahams wrote on 6/1/2000 4:31 PM ... FWIW, as of Pro 6, CodeWarrior will no longer be in the set of implementations which Dave refers to. -Howard...
Howard Hinnant
hinnant@...
Jun 1, 2000 8:41 pm
3335
... heard. No ... as ... To be honest, that's not my reading of the standard; it's my reading of everyone else's reading of the standard (i.e. newsgroup...
Dave Abrahams
abrahams@...
Jun 1, 2000 8:59 pm
3336
... Since the iterators are input_iterators, there is a bit of a problem with distance. Dispatch on iterator_category would allow it for forward and above. ...
John E. Potter
jpotter@...
Jun 1, 2000 8:59 pm
3337
... Not at all (I assume you're referring to the fact that it can be made to be out-of-order. It's meant to be a building-block. Sometimes you need to get at...
Dave Abrahams
abrahams@...
Jun 1, 2000 9:03 pm
3338
... Let's hear it for Metrowerks! Actually, that's the only such implementation I knew of. Anyone know of others? I still don't like the idea of using the .h...
Dave Abrahams
abrahams@...
Jun 1, 2000 9:06 pm
3339
... Well, I expected just that comment! Glad someone read it at all ;-). The basic idea on behind of allowing any class to my singleton_ptr mechanism is the...
Petr Kocmid
pkocmid@...
Jun 1, 2000 9:21 pm
3340
In message <02a801bfca4d$9d434fb0$3e116e97@...>, Ed Brey <brey@...> writes ... [...] ... Just realised that I haven't responded to this...
Kevlin Henney
kevlin@...
Jun 1, 2000 9:27 pm
3341
... There's no need to handle that case, it's stupid. <g> ... Unfortunately, I don't have access to a compiler that will handle it currently. I had to settle...
John E. Potter
jpotter@...
Jun 1, 2000 11:36 pm
3342
While I am a boost member, I cannot get to the vault. When I try, I get the following message: "Oops, you are not a member of the group Boost" Any suggestions...