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...
806
Moore, Paul
Paul.Moore@...
Oct 4, 1999 9:12 am
From: John Maddock [mailto:John_Maddock@...] ... Yuk. I hadn't realised that. ... Again yuk. ... ??!?!?!?!?! I was *sure* I'd used this in MSVC 6,...
807
Ed Brey
brey@...
Oct 4, 1999 6:08 pm
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?...
808
James Curran/MVP
JamesCurran@...
Oct 4, 1999 7:43 pm
... 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 ...
809
Valentin Bonnard
Bonnard.V@...
Oct 4, 1999 8:58 pm
... You do mean size_t, don't you ? (and yes int is incorrect) -- Valentin Bonnard...
810
Greg Colvin
gcolvin@...
Oct 5, 1999 7:31 am
Those struggling to port template code to a certain so-called C++ compiler may find some useful tricks here. ... From: <jsiek@...> To:...
811
John Maddock
John_Maddock@...
Oct 5, 1999 10:59 am
Paul - ... non-standard "improvements" to the language, rather than working on conformance. "Embrace and extend", again? Also, even if MSVC 7 is better...
812
Ed Brey
brey@...
Oct 5, 1999 1:53 pm
... 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...
813
Matthew D. Langston
langston@...
Oct 5, 1999 10:43 pm
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...
814
Dave Abrahams
abrahams@...
Oct 5, 1999 11:55 pm
... 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...
815
John Maddock
John_Maddock@...
Oct 6, 1999 10:52 am
Dave - ... If the problem is more one of non-standard library components than of missing language support, you could considering requiring the STLPort for ...
816
niko_pro@...
Oct 6, 1999 11:55 am
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...
817
Lois Goldthwaite
loisg@...
Oct 6, 1999 9:02 pm
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...
818
Ed Brey
brey@...
Oct 7, 1999 6:01 am
... 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...
819
Steinar Bang
sb@...
Oct 7, 1999 9:13 am
... In addition to being based on the draft standard, the library shipped with VC6 (and VC5 for that matter), has eg.: ...
820
Valentin Bonnard
Bonnard.V@...
Oct 7, 1999 2:52 pm
... 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. ...
821
niko_pro@...
Oct 8, 1999 4:02 am
hi valentin bonnard <bonnard.-@...> and Lois Goldthwaite thanks for your reply. We could acomplish the structure with a second multimap (not map) as ...
822
Andy Glew
glew@...
Oct 8, 1999 5:08 am
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...
823
niko_pro@...
Oct 8, 1999 6:01 am
hi andy glew <gle-@...> I am working on the pallet idea, i'll post updates and codes. thanks niko...
824
Andy Glew
glew@...
Oct 8, 1999 6:07 am
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*>...
825
Andy Glew
glew@...
Oct 8, 1999 6:44 am
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 ...
826
Beman Dawes
beman@...
Oct 8, 1999 4:52 pm
... has ... getting ... B ... compilers ... compilers, ... seat. Ah! I see now that there are two techniques for using BOOST_NO_STDC_NAMESPACE: 1)...
827
Valentin Bonnard
Bonnard.V@...
Oct 8, 1999 7:03 pm
... 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; ...
828
Andy Glew
glew@...
Oct 8, 1999 9:31 pm
... 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...
829
Andy Glew
glew@...
Oct 9, 1999 12:51 am
(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...
830
Dave Abrahams
abrahams@...
Oct 9, 1999 1:03 am
... 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...
831
John Maddock
John_Maddock@...
Oct 9, 1999 11:56 am
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...
832
Beman Dawes
beman@...
Oct 9, 1999 12:32 pm
... 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...
833
Dave Abrahams
abrahams@...
Oct 9, 1999 9:56 pm
... 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...
834
Adam Levar
adaml@...
Oct 10, 1999 4:19 am
Hi, The definition of bad_numeric_cast in cast.hpp is missing the no throw specifier on the what() method. Regards, Adam Levar....