Paul - ... non-boost version...< as you can continue to do.... <locale> is irrelevant to me - I don't need to worry about i18n issues. What are the issues with...
John Maddock
John_Maddock@...
Oct 2, 1999 11:18 am
806
From: John Maddock [mailto:John_Maddock@...] ... Yuk. I hadn't realised that. ... Again yuk. ... ??!?!?!?!?! I was *sure* I'd used this in MSVC 6,...
Moore, Paul
Paul.Moore@...
Oct 4, 1999 9:12 am
807
I just noticed a minor oddity: for scoped_array and shared_array, operator[] takes an argument of type int. Any reason it isn't type std::ptrdiff_t?...
Ed Brey
brey@...
Oct 4, 1999 6:08 pm
808
... use_facet and has_facet are non-standard. Another maco anyone? << << ... But you're right, it doesn't. OK, I give up. MSVC is utterly broken, even in ...
James Curran/MVP
JamesCurran@...
Oct 4, 1999 7:43 pm
809
... You do mean size_t, don't you ? (and yes int is incorrect) -- Valentin Bonnard...
Valentin Bonnard
Bonnard.V@...
Oct 4, 1999 8:58 pm
810
Those struggling to port template code to a certain so-called C++ compiler may find some useful tricks here. ... From: <jsiek@...> To:...
Greg Colvin
gcolvin@...
Oct 5, 1999 7:31 am
811
Paul - ... non-standard "improvements" to the language, rather than working on conformance. "Embrace and extend", again? Also, even if MSVC 7 is better...
John Maddock
John_Maddock@...
Oct 5, 1999 10:59 am
812
... I meant ptrdiff_t, but you are right it should be size_t. I was thinking ptrdiff_t because that is what's used in section 13.6/13, where operator[] is...
Ed Brey
brey@...
Oct 5, 1999 1:53 pm
813
I've attached a small patch to `smart_ptr.hpp' which enables all of the functionality of smart_ptr for those compilers which support member templates, even if...
Matthew D. Langston
langston@...
Oct 5, 1999 10:43 pm
814
... Just a thought: If the problem is more one of non-standard library components than of missing language support, you could considering requiring the STLPort...
Dave Abrahams
abrahams@...
Oct 5, 1999 11:55 pm
815
Dave - ... If the problem is more one of non-standard library components than of missing language support, you could considering requiring the STLPort for ...
John Maddock
John_Maddock@...
Oct 6, 1999 10:52 am
816
Do we have a template based two map/multimap class which is indexed on key and value both. My requirement is to have the key for a given value (as opposed to...
niko_pro@...
Oct 6, 1999 11:55 am
817
Couldn't you accomplish this with a second map? typedef map<key_type, value_type> regular_map; typedef map<value_type, regular_map::iterator> reverse_map; Map...
Lois Goldthwaite
loisg@...
Oct 6, 1999 9:02 pm
818
... The dinkumware library that ships with VC6 suffers from two problems: lack of compiler support and age. For the former, as you stated, switching to...
Ed Brey
brey@...
Oct 7, 1999 6:01 am
819
... In addition to being based on the draft standard, the library shipped with VC6 (and VC5 for that matter), has eg.: ...
Steinar Bang
sb@...
Oct 7, 1999 9:13 am
820
... That's exactly what I would do. ... And I remember having written the skeleton of such a class in a posting to comp.lang.c++.moderated. A looong time ago. ...
Valentin Bonnard
Bonnard.V@...
Oct 7, 1999 2:52 pm
821
hi valentin bonnard <bonnard.-@...> and Lois Goldthwaite thanks for your reply. We could acomplish the structure with a second multimap (not map) as ...
niko_pro@...
Oct 8, 1999 4:02 am
822
I'm enjoying this discussion about two-way maps/multimaps, since it is yet another example of the sort of internally consistent data structure that I would...
Andy Glew
glew@...
Oct 8, 1999 5:08 am
823
hi andy glew <gle-@...> I am working on the pallet idea, i'll post updates and codes. thanks niko...
niko_pro@...
Oct 8, 1999 6:01 am
824
Oh, I forgot to mention: in my own work, my relations are usually not between scalar keys, but are between objects, as in multi_map<Producer*,Consumer*>...
Andy Glew
glew@...
Oct 8, 1999 6:07 am
825
While we're at it, I'd like to solicit advice as to the interfaces for a family of such consistent structures. To begin with, the basic groups: reln_1_to_1 ...
Andy Glew
glew@...
Oct 8, 1999 6:44 am
826
... has ... getting ... B ... compilers ... compilers, ... seat. Ah! I see now that there are two techniques for using BOOST_NO_STDC_NAMESPACE: 1)...
Beman Dawes
beman@...
Oct 8, 1999 4:52 pm
827
... No need to use quotes. This is really a recursive definition. You don't need iterators: typedef pair<key1, key2> value_type; typedef map<key1, key2> m1_t; ...
Valentin Bonnard
Bonnard.V@...
Oct 8, 1999 7:03 pm
828
... Well, at least writing those diatribes last night got me thinking. What I describe above is the real problem / interface design issue that has got me...
Andy Glew
glew@...
Oct 8, 1999 9:31 pm
829
(Sorry to bother y'all again; if this is excessive, tell me, and I'll shut up; if there is anyone else interested in discussing / designing such automatically...
Andy Glew
glew@...
Oct 9, 1999 12:51 am
830
... I haven't been following this discussion, but importing names into std strikes me as a bit regressive, especially when we have our own namespaces which we...
Dave Abrahams
abrahams@...
Oct 9, 1999 1:03 am
831
Beman, ... commonly used headers such as cstdlib, cstddef, and maybe cstring, while (2) could be used for the other <c...> headers. Comments?< That seems to...
John Maddock
John_Maddock@...
Oct 9, 1999 11:56 am
832
... although that is the only way I used to worry about using virtual functions too. Then I actually timed the additional cost, and stopped worrying. If the...
Beman Dawes
beman@...
Oct 9, 1999 12:32 pm
833
... Precisely what I had in mind. ... 'most?' This only looks like one name. ... Why bother with this using declaration at all? With it you still have the same...
Dave Abrahams
abrahams@...
Oct 9, 1999 9:56 pm
834
Hi, The definition of bad_numeric_cast in cast.hpp is missing the no throw specifier on the what() method. Regards, Adam Levar....