... 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,...
4203
Mark Rodgers
mark.rodgers@...
Aug 1, 2000 8:45 am
... Is there anything wrong with template <typename T2> array &operator=(const array<T2,N> &rhs) { std::copy(rhs.begin(),rhs.end(), begin()); return *this; } ...
4204
gn@...
Aug 1, 2000 9:59 am
... (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...
4205
John Maddock
John_Maddock@...
Aug 1, 2000 10:46 am
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...
4206
John Maddock
John_Maddock@...
Aug 1, 2000 10:59 am
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 ...
4207
scleary@...
Aug 1, 2000 1:36 pm
... 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...
4208
Joerg Schaible
Joerg.Schaible@...
Aug 1, 2000 1:59 pm
... 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...
4209
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 4:15 pm
... 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...
4210
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 4:30 pm
... If operator= is called with the operator syntax (a = b), then types _must_ be differents. -- Valentin Bonnard...
4211
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 4:39 pm
... It is correct, and a very common practice in C. ... Why isn't it also private (and static) ? -- Valentin Bonnard...
4212
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
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...
4213
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
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...
4214
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
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...
4215
Daryle Walker
darylew@...
Aug 1, 2000 5:06 pm
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...
4216
scleary@...
Aug 1, 2000 5:30 pm
... Makes perfect sense, now that I look at it! :) As you say, the result is the alignment or some multiple of the alignment. -Steve...
4217
Valentin Bonnard
Bonnard.V@...
Aug 1, 2000 5:32 pm
... ULLONG_MAX is indeed the C99 constant for std::numeric_limits<unsigned long long>::max () -- Valentin Bonnard...
4218
Howard Hinnant
hinnant@...
Aug 1, 2000 5:39 pm
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...
4219
Beman Dawes
beman@...
Aug 1, 2000 6:53 pm
... 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...
4220
Beman Dawes
beman@...
Aug 1, 2000 6:53 pm
... 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...
4221
Mark Rodgers
mark.rodgers@...
Aug 1, 2000 7:38 pm
From: "Valentin Bonnard" <Bonnard.V@...> ... I thought that too initially, but then realised that do to so would require base classes, and aggregates...
4222
William Kempf
sirwillard@...
Aug 1, 2000 8:41 pm
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...
4223
Dietmar Kuehl
dietmar_kuehl@...
Aug 1, 2000 10:36 pm
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...
4224
Joe Gottman
joegottman@...
Aug 2, 2000 12:34 am
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...
4225
Nathan Myers
ncm@...
Aug 2, 2000 1:37 am
... 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...
4226
Michael H. Cox
mhcox@...
Aug 2, 2000 1:40 am
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...
4227
Jon Jagger
jon.jagger@...
Aug 2, 2000 6:55 am
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...
4228
John Maddock
John_Maddock@...
Aug 2, 2000 10:26 am
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...
4229
Dietmar Kuehl
dietmar_kuehl@...
Aug 2, 2000 12:31 pm
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...
4230
Beman Dawes
beman@...
Aug 2, 2000 3:06 pm
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....
4231
William Kempf
sirwillard@...
Aug 2, 2000 3:31 pm
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...