On Tuesday, July 8, 2003, at 12:25 AM, Joaquín Muñoz wrote:
[SNIP]
A related question: Should boost::multiindex::multiindex_set be raised
into Boost namespace as boost::multiindex_set (or whatever its final
name)? Seems the standard practice, but I think it is safer to ask
first.
[TRUNCATE]
Fine.
Encourage/remind reference submitters to include book ISBN journal ISSN. EG Dr
Dobbs Journal is ISSN 1044-789X.
And DOI if available (Digital Object Identifier) see doi.org - these are
permanent liks which do not change if the underlying host server changes name or
address. A program
I suggest you show how to get an absolute comparison in the documentation.
I have found absolute comparisons most useful (but also relative sometimes).
Do I understand correctly that
BOOST_CHECK_CLOSE(v1, v2, 2. * std::numeric_limits::epsilon() );
would check that the absolute difference
Marshall Clow [EMAIL PROTECTED] writes:
I recently had a need for a functor to return a component of a
std::pair, and I was
surprised to see that they didn't exist either in the standard library
or in boost.
So, here they are. Are they useful to anyone else? Is there some reason that
they
Attached is a quick draft of a Boost Bibliography page. Each entry is
bookmarked so it can be referenced directly from other web pages.
Comments?
A good idea, can you add to that the article in
libs/type_traits/c++_type_traits.htm which was in the October 2000 issue of
Dr Dobb's Journal, I
Marshall Clow wrote:
I recently had a need for a functor to return a component of a
std::pair, and I was
surprised to see that they didn't exist either in the standard
library or in boost.
Matt Austern lists in his excellent book Generic Programming and the STL
the functors select1st and
Hello, Boosters!
Today I stumbled across an unspecified behaviour which can be caused
by the example class counter of the Boost thread FAQ.
The errounous lines are inside the copy assignment operator of the
class:
boost::mutex::scoped_lock lock1(m_mutex other.m_mutex ?
m_mutex :
John Maddock wrote:
Attached is a quick draft of a Boost Bibliography page. Each entry
is bookmarked so it can be referenced directly from other web pages.
Comments?
A good idea, can you add to that the article in
libs/type_traits/c++_type_traits.htm which was in the October 2000
issue of
Hello Popov!
popov schrieb:
(not sure it's the right place to post this, but it seems smart_assert is
(or will) be part of boost, and I can't get the author email addresses. The
article is:
http://www.cuj.com/documents/s=8464/cujcexp0308alexandr/)
Here's an excerpt of some code:
I have
Jeremy Maitin-Shepard ha escrito:
Joaquín Mª López Muñoz wrote:
This is a no-no policy. Collision can happen with more than one element.
Following this approach could result in an single update sweeping off
half the elements of the container :) I don't think users of the
library
Jeff Garland wrote:
On Wed, 09 Jul 2003 09:33:44 -0400, Stefan Seefeld wrote
hi there,
what is the suggested way to persist a time_duration into a string ?
I tried 'to_iso_string' but there is no corresponding
'duration_from_iso_string'. Shouldn't that exist (if only for
symmetry) ?
Yes it
Hi!
Though Intel C++ compiles this without complaint
gcc fails with ICE on this code snippet, which is
preprocessor output of boost code:
struct void_ {};
template
bool C
, typename T1
, typename T2
struct if_c
{
typedef T1 type;
};
template
typename T1
,
Daniel Spangenberg said:
Hello, Boosters!
Today I stumbled across an unspecified behaviour which can be caused by
the example class counter of the Boost thread FAQ.
The errounous lines are inside the copy assignment operator of the
class:
boost::mutex::scoped_lock lock1(m_mutex
Markus Werle wrote:
A resolution with which g++ is happy again is:
struct if_
{
private:
enum { value = static_castbool(C::value) };
typedef if_c
value
, T1
, T2
almost_type_;
etc.
Does this solution have any impact on compilation time?
Most probably. I
Hello William!
William E. Kempf schrieb:
You're correct, and the solution is simply to replace the operator with
std::less calls.
You mean the std::less specialization on boost::mutex? (I wasn't aware, that
you provide total ordering on mutexes). Otherwise I don't see the difference,
I have
There is something wrong with the config.
Obviously the code should use the
BOOST_MPL_AUX_VALUE_WKND(C)::value
but it seems the output of my configure run is not
included.
I thought
make CXXFLAGS=\
-DBOOST_SITE_CONFIG=/opt/FREE-SOFTWARE/boost-1.30.0/libs/config/user.hpp
How directly must the article relate to Boost? I spend about 4
paragraphs discussing Boost shared_ptr in:
Access Raw Data with Performance Counters in Visual C++
DevX.com: http://www.devx.com/cplus/article/7951
--
Truth,
James Curran
www.noveltheory.com (personal)
www.njtheater.com
BOOST_NO_CWCTYPE
That is the output for gcc-3.4 from today? I've run the configure
script with gcc version 3.4 20030710 (ie. from today) and got these
results:
#define BOOST_MSVC6_MEMBER_TEMPLATES
#define BOOST_HAS_UNISTD_H
#define BOOST_HAS_STDINT_H
#define BOOST_HAS_SIGACTION
#define
[2003-07-10] James Curran wrote:
How directly must the article relate to Boost? I spend about 4
paragraphs discussing Boost shared_ptr in:
Access Raw Data with Performance Counters in Visual C++
DevX.com: http://www.devx.com/cplus/article/7951
I have a similar question; is online only
Markus Werle wrote:
Hi!
Hi Markus,
Though Intel C++ compiles this without complaint
gcc fails with ICE on this code snippet, which is
preprocessor output of boost code:
struct void_ {};
template
bool C
, typename T1
, typename T2
struct if_c
{
typedef T1
- Original Message -
From: popov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 8:03 PM
Subject: [boost] smart_assert and range_ template
(not sure it's the right place to post this, but it seems smart_assert is
(or will) be part of boost, and I can't get the
Daniel Spangenberg said:
Hello William!
William E. Kempf schrieb:
You're correct, and the solution is simply to replace the operator
with std::less calls.
You mean the std::less specialization on boost::mutex? (I wasn't aware,
that you provide total ordering on mutexes). Otherwise I
At 11:32 AM 7/10/2003, James Curran wrote:
How directly must the article relate to Boost? I spend about 4
paragraphs discussing Boost shared_ptr in:
Access Raw Data with Performance Counters in Visual C++
DevX.com: http://www.devx.com/cplus/article/7951
Good question. Maybe we need different
At 12:12 PM 7/10/2003, Rene Rivera wrote:
[2003-07-10] James Curran wrote:
How directly must the article relate to Boost? I spend about 4
paragraphs discussing Boost shared_ptr in:
Access Raw Data with Performance Counters in Visual C++
DevX.com: http://www.devx.com/cplus/article/7951
I
At 03:51 AM 7/10/2003, Paul A. Bristow wrote:
Fine.
Encourage/remind reference submitters to include book ISBN journal
ISSN.
EG Dr Dobbs Journal is ISSN 1044-789X.
Yep. Will do.
And DOI if available (Digital Object Identifier) see doi.org - these are
permanent liks which do not change if the
At 7:21 AM -0400 7/10/03, David Abrahams wrote:
Marshall Clow [EMAIL PROTECTED] writes:
So, here they are. Are they useful to anyone else? Is there some
reason that
they don't already exist? Did I miss them somewhere?
template class T1, class T2
struct first: std::unary_function std::pair
Marshall Clow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
So, here they are. Are they useful to anyone else? Is there some reason that
they don't already exist? Did I miss them somewhere?
template class T1, class T2
struct first: std::unary_function std::pair T1, T2, T1
{
T1
I have a very similar problem. I have attached my message that I posted on
6/26/2003. I patched the date_time library so the default to/from simple string
methods use an integral month rather than the string month.
Phil
Stefan Seefeld wrote:
Jeff Garland wrote:
On Wed, 09 Jul 2003 09:33:44
Joaquín Mª López Muñoz wrote:
The semantics of std::map (or any other STL associative container) are
not overwriting on insertion: instead, if an equivalent element is found, no
insertion occurs. This is what my library does, too. Maybe you're confusing
here map::operator[] with map::insert.
Yes,
From: Andy Sawyer [EMAIL PROTECTED]
To: Boost mailing list [EMAIL PROTECTED]
Subject: [boost] Re: functors for taking apart std::pair?
Date: Thu, 10 Jul 2003 22:10:42 +0100
ED == Edward Diener [EMAIL PROTECTED] writes:
ED Marshall Clow wrote:
I recently had a need for a functor to return a
William E. Kempf schrieb:
20.3.3/8
For templates greater, less, greater_equal, and less_equal, the
specializations for any pointer type yield a total order, even if the
builtin operators , , =, = do not.
Grummph, you are absolutely right, of course, and I should have known it.
Otherwise
31 matches
Mail list logo