... I've updated functional.hpp with the Metrowerks workarounds suggested by Fabrice Truillot. I've also got a version that is not yet ready to be released,...
Mark Rodgers
mark.rodgers@...
Aug 1, 2000 8:09 am
4203
... Is there anything wrong with template <typename T2> array &operator=(const array<T2,N> &rhs) { std::copy(rhs.begin(),rhs.end(), begin()); return *this; } ...
Mark Rodgers
mark.rodgers@...
Aug 1, 2000 8:45 am
4204
... (invoking ... handling ... wrong ... Gee, what a lively discussion - I hadn't expected that :-) I'm fully aware that my proposal is ugly, but the code...
gn@...
Aug 1, 2000 9:59 am
4205
Beman, ... OK. ... True it just hasn't been revised yet ;-) OK, I'll add an "initial revision" line. ... spent considerable effort trying to invent a compile...
John Maddock
John_Maddock@...
Aug 1, 2000 10:46 am
4206
Steve, ... Yes I know, that's why I haven't used it for is_enum. Actually I can't really imagine an empty class that could usefully be converted to int, but ...
John Maddock
John_Maddock@...
Aug 1, 2000 10:59 am
4207
... produce ... Only the 'enum' method produces conflicts. The 'typedef' method does not [7.1.3/2]: typedef int Bob; typedef int Bob; // no error ... enum's...
scleary@...
Aug 1, 2000 1:36 pm
4208
... I am not very fond of this anymore. Seems nice at first sight, but for files with frequent changes (it seems that most of the boost files apply) it is...
Joerg Schaible
Joerg.Schaible@...
Aug 1, 2000 1:59 pm
4209
... Comments: why don't you use the boost utilities in order to implement !=, >=, <=, > ? A looong time ago I implemented a container a bit like which...
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 4:15 pm
4210
... If operator= is called with the operator syntax (a = b), then types _must_ be differents. -- Valentin Bonnard...
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 4:30 pm
4211
... It is correct, and a very common practice in C. ... Why isn't it also private (and static) ? -- Valentin Bonnard...
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 4:39 pm
4212
Is it OK, style-wise, to define an (inline) function in a header outside of the namespace block (using the "X boost::function() { /*...*/ }" syntax)? This...
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
4213
Some compilers support (64-bit integers as) long long integers. I've noticed that some headers, like cstdint.hpp, support these integers by checking for...
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
4214
My compiler, Metrowerks CodeWarrior Pro 5 for Mac OS (with 5.3 update), allows some types of member templates, but does not allow others. For instance I...
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
4215
I know that operators.hpp has structures that help convert "operator X=" into "operator X." But sometimes an operator algorithm may be better expressed in...
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
4216
... Makes perfect sense, now that I look at it! :) As you say, the result is the alignment or some multiple of the alignment. -Steve...
scleary@...
Aug 1, 2000 5:30 pm
4217
... ULLONG_MAX is indeed the C99 constant for std::numeric_limits<unsigned long long>::max () -- Valentin Bonnard...
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 5:32 pm
4218
Daryle Walker wrote on 8/1/2000 1:05 PM ... This limitation will be lifted in Pro 6 (real soon now). ... Although there are some minor differences between mac...
Howard Hinnant
hinnant@...
Aug 1, 2000 5:39 pm
4219
... I didn't mean to raise a false issue. While there were problems with some past usages, the typedef usage in the code John posted works for at least the...
Beman Dawes
beman@...
Aug 1, 2000 6:53 pm
4220
... but ... files ... changes. ... the ... Good points, Joerg. I guess I haven't really thought out all the implications and benefits of CVS. We have usually...
Beman Dawes
beman@...
Aug 1, 2000 6:53 pm
4221
From: "Valentin Bonnard" <Bonnard.V@...> ... I thought that too initially, but then realised that do to so would require base classes, and aggregates...
Mark Rodgers
mark.rodgers@...
Aug 1, 2000 7:38 pm
4222
We had some interesting discussions going on about a thread library for boost for a while. However, the subject seems to have died, which I find to be very...
William Kempf
sirwillard@...
Aug 1, 2000 8:41 pm
4223
Hi, ... Taking the view of a library implementor I don't care at all about a thread class. What I would like to have, though, is access to thread locale...
Dietmar Kuehl
dietmar_kuehl@...
Aug 1, 2000 10:36 pm
4224
Since threads, mutexes, etc. are very dependent on the local architecture for their implementation, I think it would be a good idea to define a basic, minimal...
Joe Gottman
joegottman@...
Aug 2, 2000 12:34 am
4225
... Trying to define a "threads library" could easily turn in to a black hole, or a tar baby. Fortunately, Dietmar has shown us the way out. We don't need or...
Nathan Myers
ncm@...
Aug 2, 2000 1:37 am
4226
If you're going to write a thread library, you might want to look at how the ACE library does it (they support Win32 and UNIX (I think, pthreads)). We're using...
Michael H. Cox
mhcox@...
Aug 2, 2000 1:40 am
4227
We had some interesting discussions going on about a thread library for boost for a while. [ ... ] Someone else wanted to start with the primitive types that...
Jon Jagger
jon.jagger@...
Aug 2, 2000 6:55 am
4228
Steve, ... OK cool, I'll update the library, I'm still looking for someone with MWCW to tell me what doesn't compile (and why) with that compiler though... any...
John Maddock
John_Maddock@...
Aug 2, 2000 10:26 am
4229
Hi, ... Like for 'empty()' I think there is even more to it: 'empty()' can be much more efficient than 'length()' because 'length()' might have to count the...
Dietmar Kuehl
dietmar_kuehl@...
Aug 2, 2000 12:31 pm
4230
I agree strongly with Dietmar and Nathan; they more clearly make many of the same points I have made in the past. We have to nail down the big picture first....
Beman Dawes
beman@...
Aug 2, 2000 3:06 pm
4231
There've been a lot of responses (which is good) to my posting. Instead of addressing each in a seperate post I'm going to address the pertinent (to me) parts...