Douglas Gregor wrote:
On Saturday 04 January 2003 11:53 am, Vladimir Prus wrote:
I was just going to use the class named in the subject. Unfortunately,
it can't be found anywhere. Here what grep on an up-to-date CVS tree gives:
You probably want "iterator_property_map", which takes a RandomAc
I think that BGL concept docs are a little bit out of sync with
the concept cheking code. I've corrected some of problems and
attach a patch. Is it OK to apply it?
Another issue is that doc talk about MutablePropertyGraphConcept,
while code has LvaluePropertyGraphConcept. I'm not sure which one
i
Aleksey Gurtovoy <[EMAIL PROTECTED]> writes:
> David Abrahams wrote:
>> Aleksey Gurtovoy <[EMAIL PROTECTED]> writes:
>>
>> >
>> > So, now the question is, how to name the adaptor? :) Does
>> > 'unroll_args' sound right/good enough?
>>
>> Neat idea! How about "unary" or "unaryize"?
>
> I like th
> In note #3 it says that param_type requires partial specialization;
however,
> it seems to work fine
> with vc7. Does it mean that param_type defaults to const T& if partial
> specialisation is not available?
There is a special workaround version for MSVC which almost does the right
thing (it's
> That sounds like a smart move. It should be easy enough if we can
> encode that feature into the toolsets. Can you take care of that part
> of the job? If so, it would be very easy for me to update testing.jam
> and we'd be done.
Not easily, I don't currently have access to those compilers (a
"John Maddock" <[EMAIL PROTECTED]> writes:
>> That sounds like a smart move. It should be easy enough if we can
>> encode that feature into the toolsets. Can you take care of that part
>> of the job? If so, it would be very easy for me to update testing.jam
>> and we'd be done.
>
> Not easily,
Hi.
I've tried to compile something which uses std::wstring on GCC 3.2 (MinGW),
but I get the following error at link-time:
undefined reference to `std::basic_string, std::allocator >::basic_string()'
Using std::string works fine. Doesn't GCC 3.2 support wide character
strings? BOOST_NO_STD_WSTR
A while ago there was a call for license reviews. Various licenses were
listed at:
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost_License
for review. The STLPort license, which is available at:
http://www.stlport.org/doc/license.html
was not listed (or at least does
I'm in a need of a container, which:
- is sorted
- has iterators which are not invalidated on
'insert'
- keeps no more than k elements. If more elements are
inserted, the smallest ones should be erased.
I'm considering writing a wrapper over std::multiset for this purpose.
But before I star
Yitzhak Sapir <[EMAIL PROTECTED]> writes:
D> A while ago there was a call for license reviews. Various licenses were
> listed at:
>
> http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost_License
>
> for review. The STLPort license, which is available at:
>
> http://www.stlpor
Vladimir Prus <[EMAIL PROTECTED]> writes:
> I'm in a need of a container, which:
>
> - is sorted
> - has iterators which are not invalidated on
>'insert'
> - keeps no more than k elements. If more elements are
>inserted, the smallest ones should be erased.
>
>
> I'm considering writing a w
Terje Slettebø <[EMAIL PROTECTED]> writes:
| Hi.
|
| I've tried to compile something which uses std::wstring on GCC 3.2 (MinGW),
| but I get the following error at link-time:
Gcc 3.2 have wstring... could the problem be how MinGW is configured?
--
Lgb
__
David Abrahams wrote:
> ...although now the only expected failure tests we have left are
> compile-fail. So I don't know what to do with the others.
Could we introduce a third result. Pass and fail we know, 'error' would
the test could not actually be run. This would reflect a compile fail
for
Hi,
I have never used these two macros, but is the following code, from
"boost/preprocessor/punctuation/paren.hpp", correct?
# /* BOOST_PP_LPAREN */
#
# define BOOST_PP_LPAREN() (
#
# /* BOOST_PP_RPAREN */
#
# define BOOST_PP_RPAREN() (
By the way, I think that the copyright on this file (and p
David Abrahams wrote:
Vladimir Prus <[EMAIL PROTECTED]> writes:
I'm in a need of a container, which:
- is sorted
- has iterators which are not invalidated on
'insert'
- keeps no more than k elements. If more elements are
inserted, the smallest ones should be erased.
I'm considering writi
From: "Beman Dawes" <[EMAIL PROTECTED]>
>
> At first glance eliminating the dependency on path seems like a win, but
> I'm worried about the future.
>
> I think there is at least some chance that path can be expanded to include
> the ability to handle wide character names.
That's an excellent poin
>From: "Lars Gullik Bjønnes" <[EMAIL PROTECTED]>
> Terje Slettebø <[EMAIL PROTECTED]> writes:
>
> | I've tried to compile something which uses std::wstring on GCC 3.2
(MinGW),
> | but I get the following error at link-time:
>
> Gcc 3.2 have wstring... could the problem be how MinGW is configured?
Alisdair Meredith <[EMAIL PROTECTED]> writes:
> David Abrahams wrote:
>
>> ...although now the only expected failure tests we have left are
>> compile-fail. So I don't know what to do with the others.
>
> Could we introduce a third result. Pass and fail we know, 'error' would
> the test could no
I've come across more problems with documentation.
1. The docs for topological_sort say that if (u,v) edge is present,
then u comes before v in the topological order. I was assuming
that if I store the order in vector, then u will be found before
v. Instead, the order is reversed! This c
From: "Joel de Guzman" <[EMAIL PROTECTED]>
> From: "Peter Dimov" <[EMAIL PROTECTED]>
>
[...]
> > ref(x)(...) can mean two different things, both reasonable. One is to
simply
> > return x. The other is to return x(...). The convention we have adopted
so
> > far in bind and function is to treat ref a
Hi All
I have code that iterate on directory tree (the recursive function)
addFolder. I had profiled it (MSVC 6.5)
Func Func+Child Hit
Time % Time % Count Function
-
28.780 43.2
David Abrahams wrote:
thought, I am not sure if it's a good choice. Does
apply< unarize, list >::type
convey the discussed meaning for you?
No, but I'm not sure that unroll_args does either.
unroll_args doesn't, in fact, unroll arguments. It's a metafunction
adapter. "Unroll" is usually
Hi,
A typical use of the C preprocessor is to use object-like macros as flags
for controlling code expansion:
#if defined(OBJECT_LIKE_MACRO)
EXPANDED_IF_DEFINED
#else
EXPANDED_IF_NOT_DEFINED
#endif
The OBJECT_LIKE_MACRO is usually defined either in some configuration
header, or it may
Hi all
One more thing:
I think that the same algoritm as for is_directory should be caried out for
other path attribute (that ::FindNextFileA retrive) like dates, permissin
etc.
cheers
Daniel.
___
Unsubscribe & other changes: http://lists.boost.org/
"Vesa Karvonen" <[EMAIL PROTECTED]> writes:
> I'd like to propose adding suitable predicate macros, in particular
> BOOST_PP_IS_EMPTY(X), BOOST_PP_IS_1(X), BOOST_PP_IS_EMPTY_OR_1(X),
I like them (and I like the implementations)!
> to the Boost Preprocessor library to help detect whether flag lik
David Abrahams:
Vesa Karvonen:
> to the Boost Preprocessor library to help detect whether flag like
> macros are defined. These macros would make it easier to move some
> logic from unusable #if blocks into usable macros.
Can you show an example of such a transformation?
I got this idea while
At 10:02 AM 1/5/2003, Peter Dimov wrote:
>From: "Beman Dawes" <[EMAIL PROTECTED]>
>>
>> At first glance eliminating the dependency on path seems like a win,
but
>> I'm worried about the future.
>>
>> I think there is at least some chance that path can be expanded to
>> include the ability to hand
At 11:55 AM 1/5/2003, Daniel Yerushalmi wrote:
>Hi all
>One more thing:
>I think that the same algoritm as for is_directory should be caried out
for
>other path attribute (that ::FindNextFileA retrive) like dates,
permissin
>etc.
See Jan Langer's attribute work:
>hi,
>i just put the attribute
From: "Beman Dawes" <[EMAIL PROTECTED]>
> At 10:02 AM 1/5/2003, Peter Dimov wrote:
>
> >That's an excellent point, and I'm glad that wide paths aren't
completely
> >out of the question!
>
> I had a conversation with Bill Plauger, Howard Hinnant, and several other
> library implementors at the las
- Original Message -
From: "Vesa Karvonen" <[EMAIL PROTECTED]>
> Hi,
>
> I have never used these two macros, but is the following code, from
> "boost/preprocessor/punctuation/paren.hpp", correct?
> # define BOOST_PP_RPAREN() (
Yeah, I fixed it. Oops.
> By the way, I think that the cop
- Original Message -
From: "David Abrahams" <[EMAIL PROTECTED]>
> "Vesa Karvonen" <[EMAIL PROTECTED]> writes:
>
> > I'd like to propose adding suitable predicate macros, in particular
> > BOOST_PP_IS_EMPTY(X), BOOST_PP_IS_1(X), BOOST_PP_IS_EMPTY_OR_1(X),
>
> I like them (and I like the im
- Original Message -
From: "Vesa Karvonen" <[EMAIL PROTECTED]>
Vesa, I hack this up so it works on all compilers and then add it to the
CVS. The main problem is that the implementation relies on expansion order.
That is another name for "VC and Metrowerks bugs." I don't see why they
can'
on 1/5/03 10:21 AM, Beman Dawes at [EMAIL PROTECTED] wrote:
> I had a conversation with Bill Plauger, Howard Hinnant, and several other
> library implementors at the last C++ committee meeting, and we agreed on a
> possible approach to the conversion problem. Conversions between wide and
> narrow
"Vesa Karvonen" <[EMAIL PROTECTED]> writes:
> David Abrahams:
>>Vesa Karvonen:
>> > to the Boost Preprocessor library to help detect whether flag like macros are
>defined. These
>> > macros would make it easier to move some logic from unusable #if blocks into
>usable macros.
>
>>Can you show an
Alisdair Meredith <[EMAIL PROTECTED]> writes:
> David Abrahams wrote:
>
>> ...although now the only expected failure tests we have left are
>> compile-fail. So I don't know what to do with the others.
>
> Could we introduce a third result. Pass and fail we know, 'error' would
> the test could no
- Original Message -
From: "Paul Mensonides" <[EMAIL PROTECTED]>
> Vesa, I hack this up so it works on all compilers and then add it to the
> CVS. The main problem is that the implementation relies on expansion
order.
> That is another name for "VC and Metrowerks bugs." I don't see why t
"Paul Mensonides" <[EMAIL PROTECTED]> writes:
> Vesa, I can get it to work on VC and Metrowerks if I alter the semantics
> slightly. Namely by doing this:
>
> #define IS_ZERO(x) IS_ZERO_I( CHECK x () )
> // ...
>
> #define CHECK() 1
>
> The semantic change is that 'x' must not be a function-like
From: "Paul Mensonides" <[EMAIL PROTECTED]>
Vesa, I can get it to work on VC and Metrowerks if I alter the semantics
slightly. Namely by doing this:
#define IS_ZERO(x) IS_ZERO_I( CHECK x () )
// ...
#define CHECK() 1
The semantic change is that 'x' must not be a function-like macro. What do
y
David Abrahams:
Paul Mensonides:
> The semantic change is that 'x' must not be a function-like macro. What
do
> you think?
I think that rules out most of the use-cases Vesa was interested in
addressing with this :(
Well, it does rule out some use-cases, and it is not ideal to have such
limita
"Vesa Karvonen" <[EMAIL PROTECTED]> writes:
> David Abrahams:
>>Paul Mensonides:
>> > The semantic change is that 'x' must not be a function-like macro. What do
>> > you think?
>>
>>I think that rules out most of the use-cases Vesa was interested in
>>addressing with this :(
>
> Well, it does rul
David Abrahams:
> Paul Mensonides:
> > The semantic change is that 'x' must not be a function-like macro.
^^^
[...]
How can you use a macro which only tells you if a function-like macro
is defined to tell you if an object-like macro is defined?
If we
Fernando Cacciola's Optional library is accepted into Boost.
The review process was complicated by continual revision of the Optional
library, and for this reason at least one reviewer favored rejection of the
library at this time. However, the author and reviewers were quick t
- Original Message -
From: "Vesa Karvonen" <[EMAIL PROTECTED]>
> By the way, I just found the following article (after I posted my proposed
> IS_EMPTY()):
>
>
http://groups.google.com/groups?q=is_empty+paul+mensonides&hl=en&lr=&ie=UTF-
8&oe=UTF-8&selm=2HB49.54872%24D36.57225%40rwcrnsc53&rn
- Original Message -
From: "David Abrahams" <[EMAIL PROTECTED]>
> > Well, it does rule out some use-cases, and it is not ideal to have such
limitations, but it should
> > still be useful for testing whether an object-like macro, such as an
include guard, or a config
> > macro, has been def
- Original Message -
From: "Vesa Karvonen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 3:45 PM
Subject: Re: [boost] Boost.Preprocessor: Alternatives to defined(x)
> David Abrahams:
> > > Paul Mensonides:
> > > > The semantic change is that 'x' must not be a
- Original Message -
From: "Paul Mensonides" <[EMAIL PROTECTED]>
> Anyway, I might still be able to make the original ideal work with VC and
> Metrowerks. (You wouldn't believe how sick I am of those two compilers!)
> Give me some time
Actually it is not possible anyway. Not necessa
Hi Boosters,
I have put in the Boost file section the first version of my UTF
library. You can find it here:
http://groups.yahoo.com/group/boost/files/utf/
A couple of months ago, I posted a message to check if there was
interest in such a library and I got just one answer from Vladimir Prus
Alberto Barbati wrote:
* a comprehensive test suite (with Jamfile)
I almost forgot! The test suite requires the filesystem library. Special
thanks to Beman Dawes for it!
Alberto
___
Unsubscribe & other changes: http://lists.boost.org/mailman/listi
48 matches
Mail list logo