Sunday, June 28, 2009

comp.lang.c++ - 25 new messages in 21 topics - digest

comp.lang.c++
http://groups.google.com/group/comp.lang.c++?hl=en

comp.lang.c++@googlegroups.com

Today's topics:

* China Air Jordan Factory,Wholesale Gucci sneakers,Cheap Discount Coogi shoes
Cheap and Discount Price - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/9d72567b5ea136ad?hl=en
* cheap jordan shoes,custom jordan retro shoes,cheap air jordans shoes - 1
messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/ff66579ddbaac321?hl=en
* Jordan Travel, Discount Fares, Middle East, Royal Jordanian - 1 messages, 1
author
http://groups.google.com/group/comp.lang.c++/t/2b40b706a2d6e99d?hl=en
* Discount Stores in West Jordan - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/4e046d61dced9b22?hl=en
* Cheap Jordans, Jordans, Air Jordans, cheap, jordan shoes, new 2009 - 1
messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/aeb4fc5714789741?hl=en
* Jordan Shoes Adidas, New Balance, Nike Discount Shoes Mens & Womens Boots
shoes - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/99c62f58b3160fa3?hl=en
* Cheap Jordans, Cheap Air Jordans, Cheap Kicks, Cheap Air Force 1, Cheap
shoes - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/f1a45be820cae06b?hl=en
* ♫♫♫Wholesale sneaker, Air Jordan,Air Max,Nike shox torch1, R4,R5, Timberland
shoes! WWW.NIKEJORDANSHOE.COM!!! - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/752f96e38f216d69?hl=en
* Deleting the last element of an std::set - 3 messages, 3 authors
http://groups.google.com/group/comp.lang.c++/t/bbdfc34cc3c5947e?hl=en
* ∵∴★∵∴Sale Fashion Nike Jordan,shox,free,rift,max,AF1,Bape,Gucci,Prada, shoes
Wholesale and retail § Welcome to www.nikejoranshoe.com" - 1 messages, 1
author
http://groups.google.com/group/comp.lang.c++/t/8da2f0aa4d762901?hl=en
* ✖*✖Fashion Lady Handbags Juicy,Burberry,Gucci,LV,Prada,D&G,Edhardy,Chanel,
Coach, Jimmy-Hoo✖*✖ - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/a21c40816a5b7b98?hl=en
* ♪✖♪wholesale Iphone 3G,Nokia N97,N96,N96,8800art,etc fashion mobile
phones♪✖♪ - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/86b67dc5352542e7?hl=en
* ♪~♪Hot sale Fashion Jewelrys,Bangle,Bracelet,Cufflink,Earrings,Necklace,
Pendants,Puncture,Ring Www.nikejordanshoe.com ♪~♪ - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/463bb0c2b250c53a?hl=en
* Is std::wcout really required? - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.c++/t/e41ac896e5f966a5?hl=en
* ╃∵∴Welcome to www.nikejordanshoe.com^_^Wholesale Fashion Tshirt,Jeans,Pants,
Hoody,Shorts,short shoes,causal shoes,sandals !!! - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/4363568e090bdbc0?hl=en
* ✖~✖~✖Nike Shoes Online Shop ☞☞-www.guomeitrade.com☜☜ NIKE JORDAN,NIKE AIR
MAX,Nike Shox,Nike RLFT,DUNK,Paypal Payment,Exempt Freight.... - 2 messages, 2
authors
http://groups.google.com/group/comp.lang.c++/t/a6ae8884e33476e4?hl=en
* ∮-∮HOT sale Ed,Polo,Lacoste,Christina Audigier,Jungle,Juicy,G-star,Bape,Smet,
D&G Tshirt www.nikejordanshoe.com ∮-∮ - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/f85a933dde78ab32?hl=en
* HOT !!!wholesale Iphone 3G 8gb,16gb ,Nokia N97,N96,N96,8800art,etc
fashion mobile phones - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/594f72bdcf82255a?hl=en
* C++ Primer 4th edition Reference Counting Smart Pointers - 1 messages, 1
author
http://groups.google.com/group/comp.lang.c++/t/37c1becf77aa6c3d?hl=en
* initialize from another function - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/62041f4a48c096be?hl=en
* ostream_iterator and a collection of pointers - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/4b82f9373e3d14ef?hl=en

==============================================================================
TOPIC: China Air Jordan Factory,Wholesale Gucci sneakers,Cheap Discount Coogi
shoes Cheap and Discount Price
http://groups.google.com/group/comp.lang.c++/t/9d72567b5ea136ad?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 6:26 am
From: vipshoeshop


vipshoeshop Co.,Ltd(www.vipshoeshop.com) wholesale nike jordan
sneakers big cheap air jordan sneakers for sale.discount china nike
dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one
sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra
shoes wholesale new balance shoes puma shoes,cheap adidas
shoes,authentic jordan sneakers,wholesale nike max 90 sheos,china
supplier nike max 87 max 2009 max 360 shoes,hot max 95 shoes,free
shipping prada shoes,nike retro jordan snekaers,other nike running
shoes,wholesale nike lebron james 6 sneakers,cheap nike zoom kobe 4
sneakers free shipping, kids jordan sneakers wholesale, nike air force
one 1 fusion jordan sneakers,buy sneaker for cheap,nike air max
premium leather sneakers,gucci tennis shoes for discount,high quality
gucci shoes,wholesale jordan fusion sneakers from china supply,cheap
air bape sneakers, China Nike product manufacturer,gucci shoes,supply
puma sneakers timberland shoes,discounts Jordans kicks shoes Cheap
Discount Basketball Sneakers on Sale, Nike Retro Air Jordan Melo M5,
United States Christian Audigier T-Shirt Wholesale Christian Audigier
T-Shirt New cheap Christian Audigier T-Shirt Manufacturers
Suppliers,Wholesale Ed hardy AF T-Shirt, Discounted Louis Vuitton
Designer Handbags Clothes,Chanel and Coach Designer Handbag Wallets
Purse,Replica Louis Vuitton Handbag Accessories,Cheap Gucci handbags
Designer handbags by Gucci leather Purses Belt sunglasses,nike air
zoom signature basketball shoes,

==============================================================================
TOPIC: cheap jordan shoes,custom jordan retro shoes,cheap air jordans shoes
http://groups.google.com/group/comp.lang.c++/t/ff66579ddbaac321?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 6:27 am
From: vipshoeshop


vipshoeshop Co.,Ltd(www.vipshoeshop.com) wholesale nike jordan
sneakers big cheap air jordan sneakers for sale.discount china nike
dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one
sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra
shoes wholesale new balance shoes puma shoes,cheap adidas
shoes,authentic jordan sneakers,wholesale nike max 90 sheos,china
supplier nike max 87 max 2009 max 360 shoes,hot max 95 shoes,free
shipping prada shoes,nike retro jordan snekaers,other nike running
shoes,wholesale nike lebron james 6 sneakers,cheap nike zoom kobe 4
sneakers free shipping, kids jordan sneakers wholesale, nike air force
one 1 fusion jordan sneakers,buy sneaker for cheap,nike air max
premium leather sneakers,gucci tennis shoes for discount,high quality
gucci shoes,wholesale jordan fusion sneakers from china supply,cheap
air bape sneakers, China Nike product manufacturer,gucci shoes,supply
puma sneakers timberland shoes,discounts Jordans kicks shoes Cheap
Discount Basketball Sneakers on Sale, Nike Retro Air Jordan Melo M5,
United States Christian Audigier T-Shirt Wholesale Christian Audigier
T-Shirt New cheap Christian Audigier T-Shirt Manufacturers
Suppliers,Wholesale Ed hardy AF T-Shirt, Discounted Louis Vuitton
Designer Handbags Clothes,Chanel and Coach Designer Handbag Wallets
Purse,Replica Louis Vuitton Handbag Accessories,Cheap Gucci handbags
Designer handbags by Gucci leather Purses Belt sunglasses,nike air
zoom signature basketball shoes,

==============================================================================
TOPIC: Jordan Travel, Discount Fares, Middle East, Royal Jordanian
http://groups.google.com/group/comp.lang.c++/t/2b40b706a2d6e99d?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 6:27 am
From: vipshoeshop


vipshoeshop Co.,Ltd(www.vipshoeshop.com) wholesale nike jordan
sneakers big cheap air jordan sneakers for sale.discount china nike
dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one
sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra
shoes wholesale new balance shoes puma shoes,cheap adidas
shoes,authentic jordan sneakers,wholesale nike max 90 sheos,china
supplier nike max 87 max 2009 max 360 shoes,hot max 95 shoes,free
shipping prada shoes,nike retro jordan snekaers,other nike running
shoes,wholesale nike lebron james 6 sneakers,cheap nike zoom kobe 4
sneakers free shipping, kids jordan sneakers wholesale, nike air force
one 1 fusion jordan sneakers,buy sneaker for cheap,nike air max
premium leather sneakers,gucci tennis shoes for discount,high quality
gucci shoes,wholesale jordan fusion sneakers from china supply,cheap
air bape sneakers, China Nike product manufacturer,gucci shoes,supply
puma sneakers timberland shoes,discounts Jordans kicks shoes Cheap
Discount Basketball Sneakers on Sale, Nike Retro Air Jordan Melo M5,
United States Christian Audigier T-Shirt Wholesale Christian Audigier
T-Shirt New cheap Christian Audigier T-Shirt Manufacturers
Suppliers,Wholesale Ed hardy AF T-Shirt, Discounted Louis Vuitton
Designer Handbags Clothes,Chanel and Coach Designer Handbag Wallets
Purse,Replica Louis Vuitton Handbag Accessories,Cheap Gucci handbags
Designer handbags by Gucci leather Purses Belt sunglasses,nike air
zoom signature basketball shoes,

==============================================================================
TOPIC: Discount Stores in West Jordan
http://groups.google.com/group/comp.lang.c++/t/4e046d61dced9b22?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 6:28 am
From: vipshoeshop


vipshoeshop Co.,Ltd(www.vipshoeshop.com) wholesale nike jordan
sneakers big cheap air jordan sneakers for sale.discount china nike
dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one
sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra
shoes wholesale new balance shoes puma shoes,cheap adidas
shoes,authentic jordan sneakers,wholesale nike max 90 sheos,china
supplier nike max 87 max 2009 max 360 shoes,hot max 95 shoes,free
shipping prada shoes,nike retro jordan snekaers,other nike running
shoes,wholesale nike lebron james 6 sneakers,cheap nike zoom kobe 4
sneakers free shipping, kids jordan sneakers wholesale, nike air force
one 1 fusion jordan sneakers,buy sneaker for cheap,nike air max
premium leather sneakers,gucci tennis shoes for discount,high quality
gucci shoes,wholesale jordan fusion sneakers from china supply,cheap
air bape sneakers, China Nike product manufacturer,gucci shoes,supply
puma sneakers timberland shoes,discounts Jordans kicks shoes Cheap
Discount Basketball Sneakers on Sale, Nike Retro Air Jordan Melo M5,
United States Christian Audigier T-Shirt Wholesale Christian Audigier
T-Shirt New cheap Christian Audigier T-Shirt Manufacturers
Suppliers,Wholesale Ed hardy AF T-Shirt, Discounted Louis Vuitton
Designer Handbags Clothes,Chanel and Coach Designer Handbag Wallets
Purse,Replica Louis Vuitton Handbag Accessories,Cheap Gucci handbags
Designer handbags by Gucci leather Purses Belt sunglasses,nike air
zoom signature basketball shoes,

==============================================================================
TOPIC: Cheap Jordans, Jordans, Air Jordans, cheap, jordan shoes, new 2009
http://groups.google.com/group/comp.lang.c++/t/aeb4fc5714789741?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 6:28 am
From: vipshoeshop


vipshoeshop Co.,Ltd(www.vipshoeshop.com) wholesale nike jordan
sneakers big cheap air jordan sneakers for sale.discount china nike
dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one
sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra
shoes wholesale new balance shoes puma shoes,cheap adidas
shoes,authentic jordan sneakers,wholesale nike max 90 sheos,china
supplier nike max 87 max 2009 max 360 shoes,hot max 95 shoes,free
shipping prada shoes,nike retro jordan snekaers,other nike running
shoes,wholesale nike lebron james 6 sneakers,cheap nike zoom kobe 4
sneakers free shipping, kids jordan sneakers wholesale, nike air force
one 1 fusion jordan sneakers,buy sneaker for cheap,nike air max
premium leather sneakers,gucci tennis shoes for discount,high quality
gucci shoes,wholesale jordan fusion sneakers from china supply,cheap
air bape sneakers, China Nike product manufacturer,gucci shoes,supply
puma sneakers timberland shoes,discounts Jordans kicks shoes Cheap
Discount Basketball Sneakers on Sale, Nike Retro Air Jordan Melo M5,
United States Christian Audigier T-Shirt Wholesale Christian Audigier
T-Shirt New cheap Christian Audigier T-Shirt Manufacturers
Suppliers,Wholesale Ed hardy AF T-Shirt, Discounted Louis Vuitton
Designer Handbags Clothes,Chanel and Coach Designer Handbag Wallets
Purse,Replica Louis Vuitton Handbag Accessories,Cheap Gucci handbags
Designer handbags by Gucci leather Purses Belt sunglasses,nike air
zoom signature basketball shoes,

==============================================================================
TOPIC: Jordan Shoes Adidas, New Balance, Nike Discount Shoes Mens & Womens
Boots shoes
http://groups.google.com/group/comp.lang.c++/t/99c62f58b3160fa3?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 6:29 am
From: vipshoeshop


vipshoeshop Co.,Ltd(www.vipshoeshop.com) wholesale nike jordan
sneakers big cheap air jordan sneakers for sale.discount china nike
dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one
sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra
shoes wholesale new balance shoes puma shoes,cheap adidas
shoes,authentic jordan sneakers,wholesale nike max 90 sheos,china
supplier nike max 87 max 2009 max 360 shoes,hot max 95 shoes,free
shipping prada shoes,nike retro jordan snekaers,other nike running
shoes,wholesale nike lebron james 6 sneakers,cheap nike zoom kobe 4
sneakers free shipping, kids jordan sneakers wholesale, nike air force
one 1 fusion jordan sneakers,buy sneaker for cheap,nike air max
premium leather sneakers,gucci tennis shoes for discount,high quality
gucci shoes,wholesale jordan fusion sneakers from china supply,cheap
air bape sneakers, China Nike product manufacturer,gucci shoes,supply
puma sneakers timberland shoes,discounts Jordans kicks shoes Cheap
Discount Basketball Sneakers on Sale, Nike Retro Air Jordan Melo M5,
United States Christian Audigier T-Shirt Wholesale Christian Audigier
T-Shirt New cheap Christian Audigier T-Shirt Manufacturers
Suppliers,Wholesale Ed hardy AF T-Shirt, Discounted Louis Vuitton
Designer Handbags Clothes,Chanel and Coach Designer Handbag Wallets
Purse,Replica Louis Vuitton Handbag Accessories,Cheap Gucci handbags
Designer handbags by Gucci leather Purses Belt sunglasses,nike air
zoom signature basketball shoes,

==============================================================================
TOPIC: Cheap Jordans, Cheap Air Jordans, Cheap Kicks, Cheap Air Force 1, Cheap
shoes
http://groups.google.com/group/comp.lang.c++/t/f1a45be820cae06b?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 6:29 am
From: vipshoeshop


vipshoeshop Co.,Ltd(www.vipshoeshop.com) wholesale nike jordan
sneakers big cheap air jordan sneakers for sale.discount china nike
dunk sb shoes,nike exclusive jordan sneakers,custom nike air force one
sneakers,nike dunk cheap,nike jordan sneakers wholesale,discount supra
shoes wholesale new balance shoes puma shoes,cheap adidas
shoes,authentic jordan sneakers,wholesale nike max 90 sheos,china
supplier nike max 87 max 2009 max 360 shoes,hot max 95 shoes,free
shipping prada shoes,nike retro jordan snekaers,other nike running
shoes,wholesale nike lebron james 6 sneakers,cheap nike zoom kobe 4
sneakers free shipping, kids jordan sneakers wholesale, nike air force
one 1 fusion jordan sneakers,buy sneaker for cheap,nike air max
premium leather sneakers,gucci tennis shoes for discount,high quality
gucci shoes,wholesale jordan fusion sneakers from china supply,cheap
air bape sneakers, China Nike product manufacturer,gucci shoes,supply
puma sneakers timberland shoes,discounts Jordans kicks shoes Cheap
Discount Basketball Sneakers on Sale, Nike Retro Air Jordan Melo M5,
United States Christian Audigier T-Shirt Wholesale Christian Audigier
T-Shirt New cheap Christian Audigier T-Shirt Manufacturers
Suppliers,Wholesale Ed hardy AF T-Shirt, Discounted Louis Vuitton
Designer Handbags Clothes,Chanel and Coach Designer Handbag Wallets
Purse,Replica Louis Vuitton Handbag Accessories,Cheap Gucci handbags
Designer handbags by Gucci leather Purses Belt sunglasses,nike air
zoom signature basketball shoes,

==============================================================================
TOPIC: ♫♫♫Wholesale sneaker, Air Jordan,Air Max,Nike shox torch1, R4,R5,
Timberland shoes! WWW.NIKEJORDANSHOE.COM!!!
http://groups.google.com/group/comp.lang.c++/t/752f96e38f216d69?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:20 am
From: Selina peng


Nike Air Jordan http://www.nikejordanshoe.com/category.php?id=6,Air
Jordan Fusion http://www.nikejordanshoe.com/category.php?id=7,Nike Air
Maxhttp://www.nikejordanshoe.com/category.php?id=8,Nike
Shoxhttp://www.nikejordanshoe.com/category.php?id=9,Air Force 1http://
www.nikejordanshoe.com/category.php?id=14,Nike
Rifthttp://www.nikejordanshoe.com/category.php?id=10,Adidashttp://www.nikejordanshoe.com/category.php?id=11,
Pumahttp://www.nikejordanshoe.com/category.php?id=12,Nike
Blazerhttp://www.nikejordanshoe.com/category.php?id=20,Ed
hardyhttp://www.nikejordanshoe.com/category.php?id=15,
Guccihttp://www.nikejordanshoe.com/category.php?id=13

Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: Deleting the last element of an std::set
http://groups.google.com/group/comp.lang.c++/t/bbdfc34cc3c5947e?hl=en
==============================================================================

== 1 of 3 ==
Date: Sun, Jun 28 2009 7:21 am
From: Giuliano Bertoletti

Hello,

another question: I wish to erase the last element of a set (last
according to some custom less operator I have defined for that set).

Is the following code correct ?
What worries me most is the --hi.end() construct.

std::set< sometype > hi;

if(!hi.empty()) {
hi.erase( --hi.end() );
}

At first I've tried with:

hi.erase( hi.rbegin() );

but there's no overloaded erase function which takes a reverse_iterator
as argument, so I guess the above is the only function which runs in
c*log(n) time.


Cheers,
Giulio.


== 2 of 3 ==
Date: Sun, Jun 28 2009 8:21 am
From: "Bo Persson"


Giuliano Bertoletti wrote:
> Hello,
>
> another question: I wish to erase the last element of a set (last
> according to some custom less operator I have defined for that set).
>
> Is the following code correct ?
> What worries me most is the --hi.end() construct.
>
> std::set< sometype > hi;
>
> if(!hi.empty()) {
> hi.erase( --hi.end() );
> }
>

The potential problem is that if the iterator is actually a raw
pointer (could be for std::vector, but hardly for a std::set), you
cannot decrement the temporary returned by end(). If the iterator is a
class with an operator--() member function, is will be ok.

So, in practice, if the code compiles it works for the container you
are using.

Bo Persson


== 3 of 3 ==
Date: Sun, Jun 28 2009 8:30 am
From: Jerry Coffin


In article <4a477c7c$0$1107$4fafbaef@reader3.news.tin.it>, gbe32241
@libero.it says...

[ ... ]

> At first I've tried with:
>
> hi.erase( hi.rbegin() );
>
> but there's no overloaded erase function which takes a reverse_iterator
> as argument, [ ... ]

You can convert from a reverse iterator to the base type with the
'base()' member function. Note that rbegin() is basically equivalent
to end() -- it points one past the end of the set, so you'd need:

hi.erase((++hi.rbegin()).base());

--
Later,
Jerry.

==============================================================================
TOPIC: ∵∴★∵∴Sale Fashion Nike Jordan,shox,free,rift,max,AF1,Bape,Gucci,Prada,
shoes Wholesale and retail § Welcome to www.nikejoranshoe.com"
http://groups.google.com/group/comp.lang.c++/t/8da2f0aa4d762901?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:22 am
From: Selina peng


Nike Air Jordan http://www.nikejordanshoe.com/category.php?id=6,Air
Jordan Fusion http://www.nikejordanshoe.com/category.php?id=7,Nike Air
Maxhttp://www.nikejordanshoe.com/category.php?id=8,Nike
Shoxhttp://www.nikejordanshoe.com/category.php?id=9,Air Force 1http://
www.nikejordanshoe.com/category.php?id=14,Nike
Rifthttp://www.nikejordanshoe.com/category.php?id=10,Adidashttp://www.nikejordanshoe.com/category.php?id=11,
Pumahttp://www.nikejordanshoe.com/category.php?id=12,Nike
Blazerhttp://www.nikejordanshoe.com/category.php?id=20,Ed
hardyhttp://www.nikejordanshoe.com/category.php?id=15,
Guccihttp://www.nikejordanshoe.com/category.php?id=13

Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: ✖*✖Fashion Lady Handbags Juicy,Burberry,Gucci,LV,Prada,D&G,Edhardy,
Chanel,Coach, Jimmy-Hoo✖*✖
http://groups.google.com/group/comp.lang.c++/t/a21c40816a5b7b98?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:24 am
From: Selina peng


handbags:Prada http://www.nikejordanshoe.com/category.php?id=395,
Juicy http://www.nikejordanshoe.com/category.php?id=393 , LV
http://www.nikejordanshoe.com/category.php?id=394 , Jimmy Hoo
http://www.nikejordanshoe.com/category.php?id=391 , Ed hardy
http://www.nikejordanshoe.com/category.php?id=390 , Fendi
http://www.nikejordanshoe.com/category.php?id=389 , DB
http://www.nikejordanshoe.com/category.php?id=388 , Coach
http://www.nikejordanshoe.com/category.php?id=387 , Chloe
http://www.nikejordanshoe.com/category.php?id=386 , Burberrys
http://www.nikejordanshoe.com/category.php?id=385 , Gucci
http://www.nikejordanshoe.com/category.php?id=183 , Chanel
http://www.nikejordanshoe.com/category.php?id=185 , D&G
http://www.nikejordanshoe.com/category.php?id=184

Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: ♪✖♪wholesale Iphone 3G,Nokia N97,N96,N96,8800art,etc fashion mobile
phones♪✖♪
http://groups.google.com/group/comp.lang.c++/t/86b67dc5352542e7?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:26 am
From: Selina peng


Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: ♪~♪Hot sale Fashion Jewelrys,Bangle,Bracelet,Cufflink,Earrings,Necklace,
Pendants,Puncture,Ring Www.nikejordanshoe.com ♪~♪
http://groups.google.com/group/comp.lang.c++/t/463bb0c2b250c53a?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:31 am
From: Selina peng


Jewelry: Bangle http://www.nikejordanshoe.com/category.php?id=514,
Bracelet http://www.nikejordanshoe.com/category.php?id=515 ,
Cufflink http://www.nikejordanshoe.com/category.php?id=516 ,
Earrings http://www.nikejordanshoe.com/category.php?id=517 ,
Necklace http://www.nikejordanshoe.com/category.php?id=518 ,
Pendants http://www.nikejordanshoe.com/category.php?id=519 ,
Puncture http://www.nikejordanshoe.com/category.php?id=520 , Ring
http://www.nikejordanshoe.com/category.php?id=521

Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: Is std::wcout really required?
http://groups.google.com/group/comp.lang.c++/t/e41ac896e5f966a5?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Jun 28 2009 7:32 am
From: "Donkey Hottie"


"Bo Persson" <bop@gmb.dk> wrote in message
news:7aonmaF203mp5U1@mid.individual.net
>
> On recent versions of Windows, the question is "Why do we
> need cout, when wcout works for both narrow and wide
> strings?".
> On other systems, the question might be different.
>

So why the Windows implementation defines a new wcout, and not re-define
cout in the first place?


== 2 of 2 ==
Date: Sun, Jun 28 2009 8:23 am
From: "Bo Persson"


Donkey Hottie wrote:
> "Bo Persson" <bop@gmb.dk> wrote in message
> news:7aonmaF203mp5U1@mid.individual.net
>>
>> On recent versions of Windows, the question is "Why do we
>> need cout, when wcout works for both narrow and wide
>> strings?".
>> On other systems, the question might be different.
>>
>
> So why the Windows implementation defines a new wcout, and not
> re-define cout in the first place?

It is not new, they are both in the language standard. It is just that
as newer Windows versions internally uses wchar_t for characters,
wcout is a better match.


Bo Persson

==============================================================================
TOPIC: ╃∵∴Welcome to www.nikejordanshoe.com^_^Wholesale Fashion Tshirt,Jeans,
Pants,Hoody,Shorts,short shoes,causal shoes,sandals !!!
http://groups.google.com/group/comp.lang.c++/t/4363568e090bdbc0?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:39 am
From: Selina peng


Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: ✖~✖~✖Nike Shoes Online Shop ☞☞-www.guomeitrade.com☜☜ NIKE JORDAN,NIKE
AIR MAX,Nike Shox,Nike RLFT,DUNK,Paypal Payment,Exempt Freight....
http://groups.google.com/group/comp.lang.c++/t/a6ae8884e33476e4?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Jun 28 2009 7:40 am
From: "www.guomeitrade.com"


✖~✖~✖Nike Shoes Online Shop ☞☞-www.guomeitrade.com☜☜ NIKE JORDAN,NIKE
AIR MAX,Nike Shox,Nike RLFT,DUNK,Paypal Payment,Exempt Freight....

we are wholesase sport shoes and wear online
we offer best service and good price. paypal paymet www.guomeitrade.com
we are welcome you come in our website. paypal paymet www.guomeitrade.com
we are www.guomeitrade.com.com. we trade product include Nike Shoes
Wholesale, Jordan SHOES, Air Force one 1s ,Nike Shox, Nike shoe Air
Max,Nike shoes wholesale, Wholesale nike shoes: nike air force 1,
Nike
shoeair Dunk, Nike air paypal payment.www.guomeitrade.com.


Nike Jordan: Nike Jordan_Footwear_www.guomeitrade.com ,Wholesale
Nike Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike
Shox Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap
dunk shoes wholesale, cheap air force 1 shoes,cheap jordan shoes,
cheap hoodies wholesale, cheap wholesale
Jordan1 Jordan1.5 Jordan2 Jordan2.5 Jordan3 Jordan3.5 Jordan4
Jordan4.5 Jordan5.5 Man Jordan5 Jordan6 J6.5 Kid Jordan7 Jordan7.5
Man
Jordan8 Jordan9 Jordan9.5 Man Jordan10 Jordan10.5 Jordan11 Jordan11.5
Jordan12 Jordan12.5 Jordan13 Jordan14 Jordan15 Man Jordan15.5
Jordan16
Jordan17 Jordan18 Jordan19 Jordan19.5 Jordan22 Man Jordan22.5 Man
Jordan23 Jordan24 Air Jordan CP3 Air Yeezy Man J1+J2+J5+J7 Man
Jordan3+Jordan5+Jordan15 Jordan23+AF1 Jordan3+AF1 Jordan4+AF1
Jordan4.5+AF1 Jordan5+AF1 Jordan6+AF1 Jordan9+AF1 Jordan9+Jordan23
Man
Jordan11.5+AF1 Jordan11+AF1 Jordan11+Anthony Jordan11+Jordan12
Jordan25 Kid Jordan11+Jordan13 Jordan11+Jordan23 Jordan11+Obama
Jordan12+AF1 Jordan13+AF1 Jordan13+AJ6Rings J18+J23 Man Jordan20+AF1
J21+J23 Man Jordan25+AF1 Jordan 6unite1 Jordan 8unite1 Jordan flying
Man Jordan foamposite liite Man Jordan MELO M5 Man JORDAN TRUE FLIGHT
Man Jordan Trunner Q4 Man


Nike Air Max : Nike Air Max_Footwear_www.guomeitrade.com ,Wholesale
Nike Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike
Shox Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap
dunk shoes wholesale, cheap air force 1 shoes,cheap jordan shoes,
cheap hoodies wholesale, cheap wholesale
Nike Air Max 92 Man Nike Air Max 2006 Nike Air Max MAX TAILWIND Nike
Air Max CLSSIC BW Nike Air Max Skyline Air Max 09 Air Max 87 Air Max
89 Air Max 90 Air Max 91 Air Max 93 Air Max 95 Air Max 180 Air Max 97
Air Max LTD Air Max LTD2 Air Max STAB Air Max TN1 Air Max TN8 Air Max
TN10


Nike Shox : Nike Shox_Footwear_www.guomeitrade.com ,Wholesale Nike
Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike Shox
Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap dunk
shoes wholesale, cheap air force 1 shoes,cheap jordan shoes, cheap
hoodies wholesale, cheap wholesale
Shox OZ Shox R3+R4 Shox R4 2era Shox RZ Shox NZ Shox R2 net Shox R3
Shox R4 Shox R4 3era Shox R5 Shox Reverie Shox TL1 Shox TL3 Shox
Torch
Shox TZ Shox TZ 2era


Nike RLFT : Nike RLFT_Nike
Shoes_Footwear_www.guomeitrade.com ,Wholesale Nike Shoes,Jordan
Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike Shox Shoes,Nike Air
Max,Brand Shoes Sell,cheap shoes wholesale, cheap dunk shoes
wholesale, cheap air force 1 shoes,cheap jordan shoes, cheap hoodies
wholesale, cheap wholesale
Nike RLFT Man Nike RLFT Women Nike RLFT W&M


DUNK : Dunk_Nike Shoes_Footwear_www.guomeitrade.com , Nike
Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike Shox
Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap dunk
shoes wholesale, cheap air force 1 shoes,cheap jordan shoes, cheap
hoodies wholesale, cheap wholesale
Dunk SB Man low Dunk SB Women low Dunk SB Man Mid Dunke SB Man High


Nike shop & Nike paypal paymet www.guomeitrade.com and nike outlets.
we also retail and wholesale all of Nike
stock Shoes,


we have many type of Nike Sneakers : Nike discount Shoes,
Nike cheap Shoes, Nike stock Shoes (Nike Trainers, Nike Sneakers,
Nike
Running Shoes,
Nike Basketball Shoes,Nike Discount Shoes,Nike Cheap Shoes, footwear,
Sports Shoes ),
We Import & Export & Trading & Retail & sell & buy & distribution &
Wholesale Nike footwear and Nike Shoes to these markets:USA,
America,US,United States,UK,England, United Kingdom,
IT,Italy, NT, Netherlands, China, paypal paymet www.guomeitrade.com
Chinese, Germany, DE, Greece,GR, France, FR, Spain, Portugal, USA,
Switzerland, witzerland, Brazil, Chile, Peru,Canada, Japan,
Korea,Australia,Hongkong, Canada,Mexico, Etc..
Available Mens Size 40 41 42 43 44 45 46
Available Womens Size 35 36 38 39 40
Your Shopping Spots for Nike
Sneakers,Jordan Sneaker,Air Force
1S,Nike Dunks,nike sb, paypal paymet www.guomeitrade.com
Bape nike,gucci,pradA,sta; Nike sneakers continue to be among the
hottest sellers in men"s casual shoesFrom the ever popular Air Jordan
line, now on 21, to the off-shoot Jordan
welcome to visit our site www.guomeitrade.com


== 2 of 2 ==
Date: Sun, Jun 28 2009 8:32 am
From: "www.guomeitrade.com"


✖~✖~✖Nike Shoes Online Shop ☞☞-www.guomeitrade.com☜☜ NIKE JORDAN,NIKE
AIR MAX,Nike Shox,Nike RLFT,DUNK,Paypal Payment,Exempt Freight....

we are wholesase sport shoes and wear online
we offer best service and good price. paypal paymet www.guomeitrade.com
we are welcome you come in our website. paypal paymet www.guomeitrade.com
we are www.guomeitrade.com.com. we trade product include Nike Shoes
Wholesale, Jordan SHOES, Air Force one 1s ,Nike Shox, Nike shoe Air
Max,Nike shoes wholesale, Wholesale nike shoes: nike air force 1,
Nike
shoeair Dunk, Nike air paypal payment.www.guomeitrade.com.

Nike Jordan: Nike Jordan_Footwear_www.guomeitrade.com ,Wholesale
Nike Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike
Shox Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap
dunk shoes wholesale, cheap air force 1 shoes,cheap jordan shoes,
cheap hoodies wholesale, cheap wholesale
Jordan1 Jordan1.5 Jordan2 Jordan2.5 Jordan3 Jordan3.5 Jordan4
Jordan4.5 Jordan5.5 Man Jordan5 Jordan6 J6.5 Kid Jordan7 Jordan7.5 Man
Jordan8 Jordan9 Jordan9.5 Man Jordan10 Jordan10.5 Jordan11 Jordan11.5
Jordan12 Jordan12.5 Jordan13 Jordan14 Jordan15 Man Jordan15.5 Jordan16
Jordan17 Jordan18 Jordan19 Jordan19.5 Jordan22 Man Jordan22.5 Man
Jordan23 Jordan24 Air Jordan CP3 Air Yeezy Man J1+J2+J5+J7 Man
Jordan3+Jordan5+Jordan15 Jordan23+AF1 Jordan3+AF1 Jordan4+AF1
Jordan4.5+AF1 Jordan5+AF1 Jordan6+AF1 Jordan9+AF1 Jordan9+Jordan23 Man
Jordan11.5+AF1 Jordan11+AF1 Jordan11+Anthony Jordan11+Jordan12
Jordan25 Kid Jordan11+Jordan13 Jordan11+Jordan23 Jordan11+Obama
Jordan12+AF1 Jordan13+AF1 Jordan13+AJ6Rings J18+J23 Man Jordan20+AF1
J21+J23 Man Jordan25+AF1 Jordan 6unite1 Jordan 8unite1 Jordan flying
Man Jordan foamposite liite Man Jordan MELO M5 Man JORDAN TRUE FLIGHT
Man Jordan Trunner Q4 Man

Nike Air Max : Nike Air Max_Footwear_www.guomeitrade.com ,Wholesale
Nike Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike
Shox Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap
dunk shoes wholesale, cheap air force 1 shoes,cheap jordan shoes,
cheap hoodies wholesale, cheap wholesale
Nike Air Max 92 Man Nike Air Max 2006 Nike Air Max MAX TAILWIND Nike
Air Max CLSSIC BW Nike Air Max Skyline Air Max 09 Air Max 87 Air Max
89 Air Max 90 Air Max 91 Air Max 93 Air Max 95 Air Max 180 Air Max 97
Air Max LTD Air Max LTD2 Air Max STAB Air Max TN1 Air Max TN8 Air Max
TN10

Nike Shox : Nike Shox_Footwear_www.guomeitrade.com ,Wholesale Nike
Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike Shox
Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap dunk
shoes wholesale, cheap air force 1 shoes,cheap jordan shoes, cheap
hoodies wholesale, cheap wholesale
Shox OZ Shox R3+R4 Shox R4 2era Shox RZ Shox NZ Shox R2 net Shox R3
Shox R4 Shox R4 3era Shox R5 Shox Reverie Shox TL1 Shox TL3 Shox Torch
Shox TZ Shox TZ 2era

Nike RLFT : Nike RLFT_Nike
Shoes_Footwear_www.guomeitrade.com ,Wholesale Nike Shoes,Jordan
Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike Shox Shoes,Nike Air
Max,Brand Shoes Sell,cheap shoes wholesale, cheap dunk shoes
wholesale, cheap air force 1 shoes,cheap jordan shoes, cheap hoodies
wholesale, cheap wholesale
Nike RLFT Man Nike RLFT Women Nike RLFT W&M

DUNK : Dunk_Nike Shoes_Footwear_www.guomeitrade.com , Nike
Shoes,Jordan Shoes,Nike Dunk Shoes,Nike Air Force 1 Shoes,Nike Shox
Shoes,Nike Air Max,Brand Shoes Sell,cheap shoes wholesale, cheap dunk
shoes wholesale, cheap air force 1 shoes,cheap jordan shoes, cheap
hoodies wholesale, cheap wholesale
Dunk SB Man low Dunk SB Women low Dunk SB Man Mid Dunke SB Man High


Nike shop & Nike paypal paymet www.guomeitrade.com and nike outlets.
we also retail and wholesale all of Nike
stock Shoes,

we have many type of Nike Sneakers : Nike discount Shoes,
Nike cheap Shoes, Nike stock Shoes (Nike Trainers, Nike Sneakers, Nike
Running Shoes,
Nike Basketball Shoes,Nike Discount Shoes,Nike Cheap Shoes, footwear,
Sports Shoes ),
We Import & Export & Trading & Retail & sell & buy & distribution &
Wholesale Nike footwear and Nike Shoes to these markets:USA,
America,US,United States,UK,England, United Kingdom,
IT,Italy, NT, Netherlands, China, paypal paymet www.guomeitrade.com
Chinese, Germany, DE, Greece,GR, France, FR, Spain, Portugal, USA,
Switzerland, witzerland, Brazil, Chile, Peru,Canada, Japan,
Korea,Australia,Hongkong, Canada,Mexico, Etc..
Available Mens Size 40 41 42 43 44 45 46
Available Womens Size 35 36 38 39 40
Your Shopping Spots for Nike
Sneakers,Jordan Sneaker,Air Force
1S,Nike Dunks,nike sb, paypal paymet www.guomeitrade.com
Bape nike,gucci,pradA,sta; Nike sneakers continue to be among the
hottest sellers in men"s casual shoesFrom the ever popular Air Jordan
line, now on 21, to the off-shoot Jordan
welcome to visit our site www.guomeitrade.com

==============================================================================
TOPIC: ∮-∮HOT sale Ed,Polo,Lacoste,Christina Audigier,Jungle,Juicy,G-star,Bape,
Smet,D&G Tshirt www.nikejordanshoe.com ∮-∮
http://groups.google.com/group/comp.lang.c++/t/f85a933dde78ab32?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:42 am
From: Selina peng


Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: HOT !!!wholesale Iphone 3G 8gb,16gb ,Nokia N97,N96,N96,8800art,etc
fashion mobile phones
http://groups.google.com/group/comp.lang.c++/t/594f72bdcf82255a?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:47 am
From: Selina peng


Www.nikejordanshoe.com found in 1995, our email is
nikejordanshoe@hotmail.com. As a manufacture supplier,we have more
than 10 years experience of this business.All products are at prices
from original factory.All items have been verified by us, so they are
credible.Veries of sizes,brands,colors and styles can meets the
different customer need, fit customer demand to adjust the
production.AAA quality,most competitive prices is our promise. Our
main products are Sneaker,Tshirt,Jeans,Jacket,suits,Handbags,Watches,
mobile phones, and so on, you can click our website www.nikejordanshoe.com
to have a look.

==============================================================================
TOPIC: C++ Primer 4th edition Reference Counting Smart Pointers
http://groups.google.com/group/comp.lang.c++/t/37c1becf77aa6c3d?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 7:52 am
From: CplusplusNewbie


In Scott Meyers' Effective STL, he stresses that it's incredibly
difficult to write smart-pointer code, and that his attempts in one of
his own texts had several bugs etc.

This confuses me somewhat because Lippman, Lajoie and Moo's C++ Primer
4th ed contains extensive smart-pointer code and it doesn't appear
terribly difficult.

Are there hidden problems with the RCSP code in C++ Primer 4th ed that
I'm missing?

Many Thanks.

==============================================================================
TOPIC: initialize from another function
http://groups.google.com/group/comp.lang.c++/t/62041f4a48c096be?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 9:28 am
From: mikethebike


Hi
if I have this below in int main(int argc, char **argv) it works but
when I move it in another function within the same file.cpp it doesn't
work anymore correctly.
But it has to because I'm doing a shared lib with no main().
WHY errors? What do I have to do differently?
Many thanks
Michael
-------
// If we can initialize the demo
if(demo->init())
{
// Then we run it
demo->run();
}
else
{
// Throw error message
std::cout << "Initialization failed!" << std::endl;
delete demo;
}

==============================================================================
TOPIC: ostream_iterator and a collection of pointers
http://groups.google.com/group/comp.lang.c++/t/4b82f9373e3d14ef?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Jun 28 2009 9:04 am
From: Bart van Ingen Schenau


ShaunJ wrote:

> I would like to use an ostream_iterator to print the contents of a
> collection of pointers. I don't want to print the pointers, however,
> but the objects to which they point.

You could use std::transform to copy the collection to the stream and
dereference the contents in one go:

struct Dereference
{
template <typename T>
const T& operator()(const T* item) const
{ return *item; }
};

std::transform(coll.begin(), coll.end(),
std::ostream_iterator<T>(stream, ""), Dereference());

>
> Thanks,
> Shaun

Bart v Ingen Schenau
--
a.c.l.l.c-c++ FAQ: http://www.comeaucomputing.com/learn/faq
c.l.c FAQ: http://c-faq.com/
c.l.c++ FAQ: http://www.parashift.com/c++-faq-lite/

==============================================================================

You received this message because you are subscribed to the Google Groups "comp.lang.c++"
group.

To post to this group, visit http://groups.google.com/group/comp.lang.c++?hl=en

To unsubscribe from this group, send email to comp.lang.c+++unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.c++/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en

No comments: