Monday, November 2, 2009

comp.lang.c++ - 19 new messages in 14 topics - digest

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

comp.lang.c++@googlegroups.com

Today's topics:

* Binary file IO: Converting imported sequences of chars to desired type - 1
messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/690c45c0197f60ef?hl=en
* Pointers - *p++ - 3 messages, 3 authors
http://groups.google.com/group/comp.lang.c++/t/f8e5dfe803653b78?hl=en
* Portable library to measure time - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/9215c47c4398d6d8?hl=en
* efficient swap method - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/d9911a558abbff19?hl=en
* www.ebaychinaonline.com Cheap Branded gucci,louis handbags,shoes,belts,
watches,sunglasses,t-shirts,free shipping - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/fc7f222b193d8ff7?hl=en
* circular referencing classes with two-way by-value conversion functions - 1
messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/7fdb1952e80a6aad?hl=en
* _◐^◑_Wholesale 2009 Winter Fashion Scarves Burberry, Bvlgar, Chanel,D&G-,
Dior, Gucci, LV, Tous, Versace, YSL-Scarves HOT SALE - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/3f10a11fa782f9a5?hl=en
* ♣(=@__@=)♣Sneaker Nike,Jordan,Gucci,Adidas,Puma,EdhardyShox,Max,Free,Rift
sneaker and Polo,Lacoste,BBC,Gucci,Armani,LV,Christina Audigier Tshirt and
Jeans www.toptradea.com - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/f138c2838dd57d0f?hl=en
* ♤♣♦♠♧Wholesale Bramd new original Apple Iphone,Nokia,Blackberry,Samsung,etc
Original brand mobiles "www.toptradea.com" - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/f77ec0c0e582e647?hl=en
* o(≧v≦)o High quality discount UGG shoes at:www.uggonfoot.com - 1 messages, 1
author
http://groups.google.com/group/comp.lang.c++/t/9d49d0d21cd8655e?hl=en
* ( ^_^ ) cheap NIKE air jordanshoes,nike shox,nike air max-shangxing Trading
Co.,Ltd at :www.getjordanshoes.com - 3 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/b22b16fa67304a3c?hl=en
* GCC and copy constructor oddity - 2 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/c9d6ce2b9e47f632?hl=en
* token concatenation macro - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/156c49cafbfac12a?hl=en
* ☎ Y(^o^)Y☎HOT sale Brand Sweaters Boss,Gucci,Lacoste,Armani,Prada,Polo,DG,
Paul-Smith,Versace,Juicy,Edhardy,etc sweaters - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/01904e49a7949195?hl=en

==============================================================================
TOPIC: Binary file IO: Converting imported sequences of chars to desired type
http://groups.google.com/group/comp.lang.c++/t/690c45c0197f60ef?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 12:32 pm
From: Gerhard Fiedler


Brian wrote:

> Since a message using a text format is generally longer than binary
> formats, text leaves systems more vulnerable to network problems
> caused by storms, cyber attacks, etc. I won't argue the point about
> it being easier to use text, but think it's a little like buying an
> SUV. If the price of gas goes way up, many wish they had never
> bought an SUV. Using binary might be a way to mitigate the pain
> caused by volatile markets/conditions.

If you're talking about sending something over a potentially unstable
network connection, simple binary is pretty bad. With text encoding
(could be e.g. base64 encoded binary, or pretty much everything else
that's guaranteed not to use all available symbols), you have a few
symbols left that you can use for stream synchronization. This is in
general much more important that a few bytes more to transmit. This may
even be important when storing data on disk: the chances of recovering
data if there's a problem is much higher if you have sync symbols in the
data stream.

There's a point for (simple) binary protocols when all you have is an
8bit microcontroller with 100 bytes of RAM and 1k of Flash. But you
typically don't program these in standard-compliant C++ :)

IMO this has nothing to do with SUVs... more with seat belts, if you
really want an automotive analogy. While they add weight to the vehicle,
and on (very) rare occasions may complicate things if there's a problem,
in most problem cases they can save your face, and more. (Which, back to
programming, may save your job -- and with it the payments for your SUV.
Now here we're back to the SUV :)

Gerhard

==============================================================================
TOPIC: Pointers - *p++
http://groups.google.com/group/comp.lang.c++/t/f8e5dfe803653b78?hl=en
==============================================================================

== 1 of 3 ==
Date: Sun, Nov 1 2009 2:24 pm
From: crystal twix


Hi. I'm trying to understand what my professor says when he refers to
declaring a pointer, and seeing the operator precedence and seeing
what happens when we do things like

p++
*p++
(*p)++ etc,

but he starts out with this declaration
int *p = (int *)0;

Although my compiler does not complain, when I try to do something
like
cout << *p;

I get a Bus Error on the console (I'm using Xcode). What am I doing
wrong here? Thanks.


== 2 of 3 ==
Date: Sun, Nov 1 2009 3:27 pm
From: red floyd


crystal twix wrote:
> Hi. I'm trying to understand what my professor says when he refers to
> declaring a pointer, and seeing the operator precedence and seeing
> what happens when we do things like
>
> p++
> *p++
> (*p)++ etc,
>
> but he starts out with this declaration
> int *p = (int *)0;
>
> Although my compiler does not complain, when I try to do something
> like
> cout << *p;
>
> I get a Bus Error on the console (I'm using Xcode). What am I doing
> wrong here? Thanks.

Dereferencing a NULL pointer.


== 3 of 3 ==
Date: Sun, Nov 1 2009 4:19 pm
From: "Daniel T."


crystal twix <jonwongfanclub@gmail.com> wrote:

> Hi. I'm trying to understand what my professor says when he refers to
> declaring a pointer, and seeing the operator precedence and seeing
> what happens when we do things like
>
> p++
> *p++
> (*p)++ etc,
>
> but he starts out with this declaration
> int *p = (int *)0;
>
> Although my compiler does not complain, when I try to do something
> like
> cout << *p;
>
> I get a Bus Error on the console (I'm using Xcode). What am I doing
> wrong here? Thanks.

A pointer that contains the value '0' is a special case. It basically
means that it points to nothing and it is an error to dereference it.
This is not an error that can be caught at compile time in the general
case, so your program is notifying you of the error during runtime.

int main() {
int* nothing = 0;
int* something = new int(10);

cout << *something << '\n'; // prints "10".
cout << *nothing << '\n'; // undefined behavior, if you are lucky
// your program will crash.
}

==============================================================================
TOPIC: Portable library to measure time
http://groups.google.com/group/comp.lang.c++/t/9215c47c4398d6d8?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 2:46 pm
From: legalize+jeeves@mail.xmission.com (Richard)


[Please do not mail me a copy of your followup]

"BGB / cr88192" <cr88192@hotmail.com> spake the secret code
<hckadt$h06$1@news.albasani.net> thusly:

>don't use a library for what you can trivially do yourself...
>[...]
>my personal suggestion is to create a function, or maybe collection of them,
>which provide a consistent interface to OS-specific behaviors, and keep any
>OS specific parts confined to these functions.

In other words: reinvent someone else's library.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

==============================================================================
TOPIC: efficient swap method
http://groups.google.com/group/comp.lang.c++/t/d9911a558abbff19?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 3:21 pm
From: forums_mp@hotmail.com


On Nov 1, 9:47 am, Victor Bazarov <v.Abaza...@comAcast.net> wrote:
>> if a standard swap  approach would eb more
> > prudent
>
> Why TF do you ask when it's possible only for you to answer - by trying
> and measuring?  Seriously, dude, use 'std::swap' and see.

Frankly it would be prudent for you tell me how you want me to work
with you. You see, I have no issues adapting and at this juncture do
me a favor and go F yourself. For years, I've watched your response on
this board and frankly I'm one who is tired of your nonsense. I made
it clear my laptop is fried and as such I'm using borrowed goods. Do
me a favor.... Stay clear of my F(ing) posts. Thank you.

==============================================================================
TOPIC: www.ebaychinaonline.com Cheap Branded gucci,louis handbags,shoes,belts,
watches,sunglasses,t-shirts,free shipping
http://groups.google.com/group/comp.lang.c++/t/fc7f222b193d8ff7?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 4:06 pm
From: "clothingshoes@hotmail.com"


For more information,please contact Sophie,Yahoo:
globaltrader2009@yahoo.com.cn

Minimum order is one,factory price also!Paypal payment free
shipping,ship time will take 4-7 working days.

discount louis vuitton bedsets www.ebaychinaonline.com
discount louis vuitton scarvers
discount louis vuitton men shoes www.ebaychinaonline.com
discount louis vuitton women shoes www.ebaychinaonline.com
cheap lv women high heel boots
Wholesale louis vuitto handbags www.ebaychinaonline.com
wholesale louis vuitton sandals www.ebaychinaonline.com
wholesale louis vuitton sunglasses www.ebaychinaonline.com
wholesale louis vuitton belts www.ebaychinaonline.com
discount lv women sexy underwear www.ebaychinaonline.com
discount lv bikini and swimwear www.ebaychinaonline.com
discount lv spring shoes www.ebaychinaonline.com
cheap lv tshirts
supply lv women knitted caps www.ebaychinaonline.com
supply lv men cowboyhat caps www.ebaychinaonline.com
supply lv kid caps
discount lv jeans www.ebaychinaonline.com
discount lv jackets www.ebaychinaonline.com
discount lv fameion watches www.ebaychinaonline.com
discount replica louis vuitton shoes www.ebaychinaonline.com
wholesale Gucci men baseball hats www.ebaychinaonline.com
wholesale Gucci women fameion hats www.ebaychinaonline.com
wholesale Gucci kid hats
Wholesale Gucci handbags www.ebaychinaonline.com
supply Gucci spring shoes www.ebaychinaonline.com
discount Gucci tshirts
discount Gucci jeans www.ebaychinaonline.com
supply Gucci jackets www.ebaychinaonline.com
discount Gucci watches www.ebaychinaonline.com
discount replica Gucci shoes www.ebaychinaonline.com
wholesale Gucci sandals
wholesale Gucci sunglasses www.ebaychinaonline.com
wholesale Gucci belts www.ebaychinaonline.com
discount Gucci bedsets
discount Gucci scarvers www.ebaychinaonline.com
discount Gucci men shoes www.ebaychinaonline.com
discount Gucci women shoes www.ebaychinaonline.com
supply Gucci women high heel boots www.ebaychinaonline.com
supply Gucci women sexy underwear www.ebaychinaonline.com
cheap Gucci bikini and swimwear www.ebaychinaonline.com

==============================================================================
TOPIC: circular referencing classes with two-way by-value conversion functions
http://groups.google.com/group/comp.lang.c++/t/7fdb1952e80a6aad?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 5:55 pm
From: Joshua Maurice


Take this example code:

// // // //

#include <boost/shared_ptr.hpp>

class ConstBuffer;

//The goal of the two separate buffer classes, Buffer and ConstBuffer,
//and the two conversion functions makeConst and makeWritable,
//is multifold:
//- The user can pass these around by value efficiency, as they have
reference
// semantics, thus avoiding dynamic allocation worries
//- To guarantee that for a single BufferImpl, that there is exactly
one
// write view on it, or multiple read views. This allows us to
share
// BufferImpl objects without having to do deep copies or have the
user
// worry about synchronization of buffers.

//Has reference semantics, implemented with Boost::shared_ptr
class Buffer
{
private:
friend class ConstBuffer;
struct BufferImpl
{ //[insert stuff]
};

public:
~Buffer() {}

//[insert functions to read and write to the actual buffer]

private:
friend class ConstBuffer;

Buffer(BufferImpl* buf) : x(buf) {}
Buffer(boost::shared_ptr<BufferImpl> y) : x(y) {}

Buffer(Buffer const& ); //not defined, not copyable
Buffer& operator= (Buffer ); //not defined, not copyable

boost::shared_ptr<BufferImpl> x;
};

//Has reference semantics, implemented with Boost::shared_ptr
class ConstBuffer
{
public:
ConstBuffer(ConstBuffer const& buf) : x(buf.x) {}
ConstBuffer& operator= (ConstBuffer const& buf) { x = buf.x; }
~ConstBuffer() {}

//[insert functions to read from the actual buffer]

//Sets this to null pointer. Returns a copy of this which is
writable.
//(Note that this is optimized to return shallow copy when only a
single
//read view exists on the buffer.)
Buffer makeWritable()
{ if (x.unique())
{ Buffer retVal(x);
x.reset();
return retVal;
}else
{ Buffer retVal(new Buffer::BufferImpl(*x));
x.reset();
return retVal;
}
}

//Sets buf to the null pointer. Returns a copy of buf which is
const.
//(Note that this is optimized to not do a deep copy.)
static ConstBuffer makeConst(Buffer& buf)
{ ConstBuffer retVal(buf.x);
buf.x.reset();
return retVal;
}
private:
ConstBuffer(boost::shared_ptr<Buffer::BufferImpl> y) : x(y) {}
boost::shared_ptr<Buffer::BufferImpl> x;
};

// // // //

I think I would prefer it if I could have makeConst and makeWritable
be namespace scope functions, or makeConst to be a non-static member
of Buffer and makeWritable be a non-static member of ConstBuffer.
However, I don't seem to be able to do that. I'd like there to be some
symmetric in the interface for ease of use, either they're both non-
static member functions or they're both namespace functions. I don't
really like the extra typing you would have to do if they were static
class member functions. I'd prefer to have ADL kick in with namespace
scope functions or have both be member functions.

At least, I don't think I can do this and maintain encapsulation, aka
keep the data members private. I know that anyone can easily defeat
encapsulation if they feel like it, but keeping the private things
private still fulfills a purpose, and I'd rather not rely on a big
note saying "DON'T USE THIS OR ELSE!" ... Maybe if I did some hackery
with subclasses, I could pull this off...

The use case is: my company performs jobs on data which is split up
into separate threads, where each thread is a data sink, a data
source, or it performs a transformation on its input data to produce
output data. The relationship between these different threads can be
quite complex and is not a simple chain: one thread can send data to
multiple threads, and one thread can read data from multiple reader
threads. I was thinking about a cleaner abstraction for use in the
engine, and I was toying around with this.

Has anyone encountered something similar? And how was it resolved? And
how would you resolve it yourself? I'm probably agonizing over
something not worth agonizing over.

==============================================================================
TOPIC: _◐^◑_Wholesale 2009 Winter Fashion Scarves Burberry, Bvlgar, Chanel,D&G-
, Dior, Gucci, LV, Tous, Versace, YSL-Scarves HOT SALE
http://groups.google.com/group/comp.lang.c++/t/3f10a11fa782f9a5?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 6:08 pm
From: peng Selina


_◐^◑_Wholesale 2009 Winter Fashion Scarves Burberry, Bvlgar,
Chanel,D&G-, Dior, Gucci, LV, Tous, Versace, YSL-Scarves HOT SALE
"Scarves (www.toptradea.com)
Burberry-Scarves (www.toptradea.com)
Bvlgar-Scarves (www.toptradea.com)
Chanel-Scarves (www.toptradea.com)
D&G-Scarves (www.toptradea.com)
Dior-Scarves (www.toptradea.com)
Gucci-Scarves (www.toptradea.com)
LV-Scarves (www.toptradea.com)
Tous-Scarves (www.toptradea.com)
Versace-Scarves (www.toptradea.com)
YSL-Scarves (www.toptradea.com)"

==============================================================================
TOPIC: ♣(=@__@=)♣Sneaker Nike,Jordan,Gucci,Adidas,Puma,EdhardyShox,Max,Free,
Rift sneaker and Polo,Lacoste,BBC,Gucci,Armani,LV,Christina Audigier Tshirt
and Jeans www.toptradea.com
http://groups.google.com/group/comp.lang.c++/t/f138c2838dd57d0f?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 6:10 pm
From: peng Selina


♣(=@__@=)♣Sneaker
Nike,Jordan,Gucci,Adidas,Puma,EdhardyShox,Max,Free,Rift sneaker and
Polo,Lacoste,BBC,Gucci,Armani,LV,Christina Audigier Tshirt and Jeans
www.toptradea.com
"Adidas Shoes sneaker www.toptradea.com & www.toptradea.606c.com
Adidas-Good-Year sneaker www.toptradea.com & www.toptradea.606c.com

Adidas-Good-Year2 sneaker www.toptradea.com & www.toptradea.606c.com

+Puma Shoes sneaker www.toptradea.com & www.toptradea.606c.com
Puma-woman-shoes sneaker www.toptradea.com & www.toptradea.606c.com

Puma-man-shoes sneaker www.toptradea.com & www.toptradea.606c.com

Puma-centennial sneaker www.toptradea.com & www.toptradea.606c.com

Puma sneaker www.toptradea.com & www.toptradea.606c.com

Puma-6 sneaker www.toptradea.com & www.toptradea.606c.com

Puma-new sneaker www.toptradea.com & www.toptradea.606c.com

Puma-Kimi-Rainkkonen sneaker www.toptradea.com & www.toptradea.606c.com

Puma-Anniversary sneaker www.toptradea.com & www.toptradea.606c.com

Puma-8813 sneaker www.toptradea.com & www.toptradea.606c.com

Puma-5 sneaker www.toptradea.com & www.toptradea.606c.com

+Nike Blazer sneaker www.toptradea.com & www.toptradea.606c.com
Nike-Blazer sneaker www.toptradea.com & www.toptradea.606c.com

+Edhardy Shoes sneaker www.toptradea.com & www.toptradea.606c.com
man-shoes sneaker www.toptradea.com & www.toptradea.606c.com

canvas-low-shoes sneaker www.toptradea.com & www.toptradea.606c.com

woman-shoes sneaker www.toptradea.com & www.toptradea.606c.com

Casual-shoes sneaker www.toptradea.com & www.toptradea.606c.com

canvas-high-shoes sneaker www.toptradea.com & www.toptradea.606c.com

+Gucci Shoes sneaker www.toptradea.com & www.toptradea.606c.com
Gucci-size14 sneaker www.toptradea.com & www.toptradea.606c.com

Man-low-shoes sneaker www.toptradea.com & www.toptradea.606c.com

woman-high-shoes sneaker www.toptradea.com & www.toptradea.606c.com

Gucci-shoes-A sneaker www.toptradea.com & www.toptradea.606c.com

Man-high-shoes sneaker www.toptradea.com & www.toptradea.606c.com

woman-low-shoes sneaker www.toptradea.com & www.toptradea.606c.com

+Lacoste Shoes sneaker www.toptradea.com & www.toptradea.606c.com
Lacoste-woman-shoes sneaker www.toptradea.com & www.toptradea.606c.com

Lacoste-man-shoes sneaker www.toptradea.com & www.toptradea.606c.com

Lacoste-white-man sneaker www.toptradea.com & www.toptradea.606c.com
+Prada Shoes sneaker www.toptradea.com & www.toptradea.606c.com
Prada-shoes sneaker www.toptradea.com & www.toptradea.606c.com

+Chanel Shoes sneaker www.toptradea.com & www.toptradea.606c.com
Chanel woman shoes sneaker www.toptradea.com & www.toptradea.606c.com

+Coach Shoes sneaker www.toptradea.com & www.toptradea.606c.com
Coach-woman-shoes sneaker www.toptradea.com & www.toptradea.606c.com

Coach-man-shoes sneaker www.toptradea.com & www.toptradea.606c.com

+D&G Shoes sneaker www.toptradea.com & www.toptradea.606c.com" "Jeans
Series<www.toptradea.com & www.toptradea.606c.com>
Evisu Jeans Series<www.toptradea.com & www.toptradea.606c.com >

Christina Audigier Jeans Series<www.toptradea.com & www.toptradea.606c.com
>

ZEN Jeans Series<www.toptradea.com & www.toptradea.606c.com >

Levis Jeans Series<www.toptradea.com & www.toptradea.606c.com >

Iceberg Jeans Series<www.toptradea.com & www.toptradea.606c.com>

Black-Lable Jeans Series<www.toptradea.com & www.toptradea.606c.com>

True Religion Jeans Series<www.toptradea.com & www.toptradea.606c.com
>

Laguna Jeans Series<www.toptradea.com & www.toptradea.606c.com >

G-star Jeans Series<www.toptradea.com & www.toptradea.606c.com>

Diesel Jeans Series<www.toptradea.com & www.toptradea.606c.com >

Bape Jeans Series<www.toptradea.com & www.toptradea.606c.com>

LV Jeans Series<www.toptradea.com & www.toptradea.606c.com>

D&G Jeans Series<www.toptradea.com & www.toptradea.606c.com >

Coogi Jeans Series<www.toptradea.com & www.toptradea.606c.com>

Cavalli Jeans Series<www.toptradea.com & www.toptradea.606c.com>

Artful-Dodger-Jeans Jeans Series<www.toptradea.com & www.toptradea.606c.com
>

RMC Jeans Series<www.toptradea.com & www.toptradea.606c.com >

Gucci Jeans Series<www.toptradea.com & www.toptradea.606c.com>

Ed hardy Jeans Series<www.toptradea.com & www.toptradea.606c.com>

Armani Jeans Series<www.toptradea.com & www.toptradea.606c.com>

BBC Jeans Series<www.toptradea.com & www.toptradea.606c.com>

Prada Jeans Series<www.toptradea.com & www.toptradea.606c.com>
"
"T-shirt www.toptradea.com & www.toptradea.606c.com
D&G T-shirt www.toptradea.com & www.toptradea.606c.com

Bape T-shirt www.toptradea.com & www.toptradea.606c.com

Smet T-shirt www.toptradea.com & www.toptradea.606c.com

LV T-shirt www.toptradea.com & www.toptradea.606c.com

Jungle T-shirt www.toptradea.com & www.toptradea.606c.com

Gucci T-shirt www.toptradea.com & www.toptradea.606c.com

Burberry T-shirt www.toptradea.com & www.toptradea.606c.com

Ed hardy T-shirt www.toptradea.com & www.toptradea.606c.com

Christina Audigier T-shirt www.toptradea.com & www.toptradea.606c.com

Adidas T-shirt www.toptradea.com & www.toptradea.606c.com

Polo T-shirt www.toptradea.com & www.toptradea.606c.com

Lacoste T-shirt www.toptradea.com & www.toptradea.606c.com

Juicy T-shirt www.toptradea.com & www.toptradea.606c.com

G-star T-shirt www.toptradea.com & www.toptradea.606c.com

BBC T-shirt www.toptradea.com & www.toptradea.606c.com

Affliction T-shirt www.toptradea.com & www.toptradea.606c.com

Armani T-shirt www.toptradea.com & www.toptradea.606c.com"
"Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com
Okely Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Adidas Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Armani Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Burberry Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Coach Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Chanel Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Dior Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

D&G Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Gucci Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Edhardy Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

LV Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Police Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Nike Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Prada Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com

Versace Sunglasses http://www.toptradea.com/ & www.toptradea.606c.com
"


==============================================================================
TOPIC: ♤♣♦♠♧Wholesale Bramd new original Apple Iphone,Nokia,Blackberry,Samsung,
etc Original brand mobiles "www.toptradea.com"
http://groups.google.com/group/comp.lang.c++/t/f77ec0c0e582e647?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 6:11 pm
From: peng Selina


♤♣♦♠♧Wholesale Bramd new original Apple
Iphone,Nokia,Blackberry,Samsung,etc Original brand mobiles
"www.toptradea.com"
"Apple [www.toptradea.com & www.toptradea.606c.com]
Nokia [www.toptradea.com & www.toptradea.606c.com]
Blackberry [www.toptradea.com & www.toptradea.606c.com]
Samsung [www.toptradea.com & www.toptradea.606c.com]
Sony Ericsson [www.toptradea.com & www.toptradea.606c.com]
HTC [www.toptradea.com & www.toptradea.606c.com]
"

==============================================================================
TOPIC: o(≧v≦)o High quality discount UGG shoes at:www.uggonfoot.com
http://groups.google.com/group/comp.lang.c++/t/9d49d0d21cd8655e?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 9:56 pm
From: getjordanshoes


High quality discount UGG Shoes


www.uggonfoot.com


High quality discount UGG 5118


www.uggonfoot.com


High quality discount UGG 5728


www.uggonfoot.com


High quality discount UGG 5163


www.uggonfoot.com


High quality discount UGG 5225


www.uggonfoot.com


High quality discount UGG 5230


www.uggonfoot.com


High quality discount UGG 5245


www.uggonfoot.com


High quality discount UGG 5325

==============================================================================
TOPIC: ( ^_^ ) cheap NIKE air jordanshoes,nike shox,nike air max-shangxing
Trading Co.,Ltd at :www.getjordanshoes.com
http://groups.google.com/group/comp.lang.c++/t/b22b16fa67304a3c?hl=en
==============================================================================

== 1 of 3 ==
Date: Sun, Nov 1 2009 9:57 pm
From: getjordanshoes


└(^o^)┘ cheap Sneaker NIKE air jordanshoes,nike shoes,nike air max-
shangxing Trading Co.,Ltd

comAir Jordans Collezione sneaker www.getjordanshoes.com

Air-Jordan-J1 sneaker www.getjordanshoes.com

Air-Jordan-J2 sneaker www.getjordanshoes.com

Air-Jordan-J3 sneaker www.getjordanshoes.com

Air-Jordan-J4 sneaker www.getjordanshoes.com

Air-Jordan-J5 sneaker www.getjordanshoes.com

Air-Jordan-J6 sneaker www.getjordanshoes.com

Air-Jordan-J7 sneaker www.getjordanshoes.com

Air-Jordan-J8 sneaker www.getjordanshoes.com

Air-Jordan-J9 sneaker www.getjordanshoes.com

Air-Jordan-J10 sneaker www.getjordanshoes.com

Air-Jordan-J11 sneaker www.getjordanshoes.com

Air-Jordan-J12 sneaker www.getjordanshoes.com

Air-Jordan-J13 sneaker www.getjordanshoes.com

Air-Jordan-J14 sneaker www.getjordanshoes.com

Air-Jordan-J15 sneaker www.getjordanshoes.com

Air-Jordan-J16 sneaker www.getjordanshoes.com

Air-Jordan-J17 sneaker www.getjordanshoes.com

Air-Jordan-J18 sneaker www.getjordanshoes.com

Air-Jordan-J19 sneaker www.getjordanshoes.com

Air-Jordan-J20 sneaker www.getjordanshoes.com

Air-Jordan-J21 sneaker www.getjordanshoes.com

Air-Jordan-J22 sneaker www.getjordanshoes.com

Air-Jordan-J23 sneaker www.getjordanshoes.com

Air-Jordan Fusion sneaker www.getjordanshoes.com

Nike Air Max sneaker www.getjordanshoes.com

Air-Max-LTD sneaker www.getjordanshoes.com

Air-Max-TN sneaker www.getjordanshoes.com

Air-Max-1 sneaker www.getjordanshoes.com

Air-Max-89 sneaker www.getjordanshoes.com

Air-Max-90 sneaker www.getjordanshoes.com

Air-Max-95 sneaker www.getjordanshoes.com

Air-Max-360 sneaker www.getjordanshoes.com

Air-Max-2009 sneaker www.getjordanshoes.com

Nike-Shox-R3 sneaker www.getjordanshoes.com

Nike-Shox-R4 sneaker www.getjordanshoes.com

Nike-Shox-TL3 sneaker www.getjordanshoes.com

Nike-Shox-NZ sneaker www.getjordanshoes.com

Nike-Shox-OZ sneaker www.getjordanshoes.com

Gucci Low Top sneaker www.getjordanshoes.com

Gucci High Top sneaker www.getjordanshoes.com

Gucci Size 14 sneaker www.getjordanshoes.com

D&G sneaker www.getjordanshoes.com

Puma sneaker www.getjordanshoes.com


== 2 of 3 ==
Date: Sun, Nov 1 2009 9:58 pm
From: getjordanshoes


└(^o^)┘ cheap Sneaker NIKE air jordanshoes,nike shoes,nike air max-
shangxing Trading Co.,Ltd

comAir Jordans Collezione sneaker www.getjordanshoes.com

Air-Jordan-J1 sneaker www.getjordanshoes.com

Air-Jordan-J2 sneaker www.getjordanshoes.com

Air-Jordan-J3 sneaker www.getjordanshoes.com

Air-Jordan-J4 sneaker www.getjordanshoes.com

Air-Jordan-J5 sneaker www.getjordanshoes.com

Air-Jordan-J6 sneaker www.getjordanshoes.com

Air-Jordan-J7 sneaker www.getjordanshoes.com

Air-Jordan-J8 sneaker www.getjordanshoes.com

Air-Jordan-J9 sneaker www.getjordanshoes.com

Air-Jordan-J10 sneaker www.getjordanshoes.com

Air-Jordan-J11 sneaker www.getjordanshoes.com

Air-Jordan-J12 sneaker www.getjordanshoes.com

Air-Jordan-J13 sneaker www.getjordanshoes.com

Air-Jordan-J14 sneaker www.getjordanshoes.com

Air-Jordan-J15 sneaker www.getjordanshoes.com

Air-Jordan-J16 sneaker www.getjordanshoes.com

Air-Jordan-J17 sneaker www.getjordanshoes.com

Air-Jordan-J18 sneaker www.getjordanshoes.com

Air-Jordan-J19 sneaker www.getjordanshoes.com

Air-Jordan-J20 sneaker www.getjordanshoes.com

Air-Jordan-J21 sneaker www.getjordanshoes.com

Air-Jordan-J22 sneaker www.getjordanshoes.com

Air-Jordan-J23 sneaker www.getjordanshoes.com

Air-Jordan Fusion sneaker www.getjordanshoes.com

Nike Air Max sneaker www.getjordanshoes.com

Air-Max-LTD sneaker www.getjordanshoes.com

Air-Max-TN sneaker www.getjordanshoes.com

Air-Max-1 sneaker www.getjordanshoes.com

Air-Max-89 sneaker www.getjordanshoes.com

Air-Max-90 sneaker www.getjordanshoes.com

Air-Max-95 sneaker www.getjordanshoes.com

Air-Max-360 sneaker www.getjordanshoes.com

Air-Max-2009 sneaker www.getjordanshoes.com

Nike-Shox-R3 sneaker www.getjordanshoes.com

Nike-Shox-R4 sneaker www.getjordanshoes.com

Nike-Shox-TL3 sneaker www.getjordanshoes.com

Nike-Shox-NZ sneaker www.getjordanshoes.com

Nike-Shox-OZ sneaker www.getjordanshoes.com

Gucci Low Top sneaker www.getjordanshoes.com

Gucci High Top sneaker www.getjordanshoes.com

Gucci Size 14 sneaker www.getjordanshoes.com

D&G sneaker www.getjordanshoes.com

Puma sneaker www.getjordanshoes.com


== 3 of 3 ==
Date: Sun, Nov 1 2009 9:58 pm
From: getjordanshoes


└(^o^)┘ cheap Sneaker NIKE air jordanshoes,nike shoes,nike air max-
shangxing Trading Co.,Ltd

comAir Jordans Collezione sneaker www.getjordanshoes.com

Air-Jordan-J1 sneaker www.getjordanshoes.com

Air-Jordan-J2 sneaker www.getjordanshoes.com

Air-Jordan-J3 sneaker www.getjordanshoes.com

Air-Jordan-J4 sneaker www.getjordanshoes.com

Air-Jordan-J5 sneaker www.getjordanshoes.com

Air-Jordan-J6 sneaker www.getjordanshoes.com

Air-Jordan-J7 sneaker www.getjordanshoes.com

Air-Jordan-J8 sneaker www.getjordanshoes.com

Air-Jordan-J9 sneaker www.getjordanshoes.com

Air-Jordan-J10 sneaker www.getjordanshoes.com

Air-Jordan-J11 sneaker www.getjordanshoes.com

Air-Jordan-J12 sneaker www.getjordanshoes.com

Air-Jordan-J13 sneaker www.getjordanshoes.com

Air-Jordan-J14 sneaker www.getjordanshoes.com

Air-Jordan-J15 sneaker www.getjordanshoes.com

Air-Jordan-J16 sneaker www.getjordanshoes.com

Air-Jordan-J17 sneaker www.getjordanshoes.com

Air-Jordan-J18 sneaker www.getjordanshoes.com

Air-Jordan-J19 sneaker www.getjordanshoes.com

Air-Jordan-J20 sneaker www.getjordanshoes.com

Air-Jordan-J21 sneaker www.getjordanshoes.com

Air-Jordan-J22 sneaker www.getjordanshoes.com

Air-Jordan-J23 sneaker www.getjordanshoes.com

Air-Jordan Fusion sneaker www.getjordanshoes.com

Nike Air Max sneaker www.getjordanshoes.com

Air-Max-LTD sneaker www.getjordanshoes.com

Air-Max-TN sneaker www.getjordanshoes.com

Air-Max-1 sneaker www.getjordanshoes.com

Air-Max-89 sneaker www.getjordanshoes.com

Air-Max-90 sneaker www.getjordanshoes.com

Air-Max-95 sneaker www.getjordanshoes.com

Air-Max-360 sneaker www.getjordanshoes.com

Air-Max-2009 sneaker www.getjordanshoes.com

Nike-Shox-R3 sneaker www.getjordanshoes.com

Nike-Shox-R4 sneaker www.getjordanshoes.com

Nike-Shox-TL3 sneaker www.getjordanshoes.com

Nike-Shox-NZ sneaker www.getjordanshoes.com

Nike-Shox-OZ sneaker www.getjordanshoes.com

Gucci Low Top sneaker www.getjordanshoes.com

Gucci High Top sneaker www.getjordanshoes.com

Gucci Size 14 sneaker www.getjordanshoes.com

D&G sneaker www.getjordanshoes.com

Puma sneaker www.getjordanshoes.com

==============================================================================
TOPIC: GCC and copy constructor oddity
http://groups.google.com/group/comp.lang.c++/t/c9d6ce2b9e47f632?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Nov 1 2009 10:26 pm
From: Rolf Magnus


Joshua Maurice wrote:

> I can only guess you mean to ask "If the compiler will optimize out
> the copy constructor, then the copy constructor will not be used. In
> this situation, my compiler complains that the copy constructor is not
> accessible even though it will not, in fact, be used. Why is this?"
>
> Formal answer: Because the standard says so. The explicit exception
> which allows the compiler to remove temporaries and copy constructor
> calls specifically says that the compiler must still ensure the the
> copy constructor exists and is accessible.
>
> I guess a better answer is that the people who wrote the standard did
> not want some piece of code valid on one compiler which elided
> temporaries and copy constructors, and not valid on another compiler
> which did not do this optimization. They preferred that the code would
> either fail on both compilers or pass on both compilers. You know,
> basically help the portability of code.

To put it short: The correctness of code does not depend on the optimization
behavior of your compiler, and so, incorrect code must be marked as such,
even if it would be optimized away later.

== 2 of 2 ==
Date: Sun, Nov 1 2009 10:28 pm
From: Rolf Magnus


Martijn van Buul wrote:

> * Joshua Maurice:
>> They preferred that the code would either fail on both compilers or pass
>> on both compilers. You know, basically help the portability of code.
>
> However, since the outcome on different compilers can now be different
> should your copy constructor have side effects (or if your copy
> constructor doesn't "copy" at all!), portability is down the drain anyway.

I would say that in a sane program, it doesn't really matter if the object
is copied or not.

==============================================================================
TOPIC: token concatenation macro
http://groups.google.com/group/comp.lang.c++/t/156c49cafbfac12a?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 10:38 pm
From: thomas


----------code-----------------------
#include<iostream>
using namespace std;

#define f(x,y) x##y
#define g(x) #x
#define h(x) g(x)

int main(){
cout<<g(f(1,2))<<endl;
cout<<h(f(1,2))<<endl;
}
---------------code----------------------

the result for g() and h() is different, why?
what's the rule for macro expansion?

==============================================================================
TOPIC: ☎ Y(^o^)Y☎HOT sale Brand Sweaters Boss,Gucci,Lacoste,Armani,Prada,Polo,
DG,Paul-Smith,Versace,Juicy,Edhardy,etc sweaters
http://groups.google.com/group/comp.lang.c++/t/01904e49a7949195?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Nov 1 2009 11:26 pm
From: peng Selina


☎ Y(^o^)Y☎HOT sale Brand Sweaters
Boss,Gucci,Lacoste,Armani,Prada,Polo,DG,Paul-
Smith,Versace,Juicy,Edhardy,etc sweaters
Sweater {www.toptradea.com}
Armani-Sweater {www.toptradea.com}

Boss-Sweater {www.toptradea.com}

D&G-Sweater {www.toptradea.com}

Edhardy-Sweater {www.toptradea.com}

Gucci-Sweater {www.toptradea.com}

Juicy-Sweater {www.toptradea.com}

Lacoste-Sweater {www.toptradea.com}

Paul-Smith-Sweater {www.toptradea.com}

Polo-Sweater {www.toptradea.com}

Prada-Sweater {www.toptradea.com}

Versace-Sweater {www.toptradea.com}


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

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: