This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: Why I love C++ so much.
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'About as pretty-printed as yer gonna get.'" <cygwin-talk at cygwin dot com>
- Date: Wed, 20 Feb 2008 21:45:16 -0000
- Subject: RE: Why I love C++ so much.
- References: <00b001c873fd$58137750$2e08a8c0@CAM.ARTIMI.COM> <47BC92F5.5DB297D6@dessent.net>
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
On 20 February 2008 20:52, Brian Dessent wrote:
> Dave Korn wrote:
>
>> is just soooooo much easier and more self-consistent and less typing than
>>
>> "%08x", x
>
> Oh, don't be so hard on C++. I mean, sure, some things are a little
> clunky, but it makes up for it with such interesting compile errors:
>
> example.cc:21: conversion from `double' to non-scalar type
>
`map<vector<basic_string<char,string_char_traits<char>,__default_alloc_templat
e<true,0>
>>
,allocator<basic_string<char,string_char_traits<char>,__default_alloc_template
<true,0>
>> > >
>>
>,set<basic_string<char,string_char_traits<char>,__default_alloc_template<true
,0>
>>
>,less<basic_string<char,string_char_traits<char>,__default_alloc_template<tru
e,0>
>> >
>>
>,allocator<basic_string<char,string_char_traits<char>,__default_alloc_templat
e<true,0>
>> > >
>>
>,less<vector<basic_string<char,string_char_traits<char>,__default_alloc_templ
ate<true,0>
>>
>,allocator<basic_string<char,string_char_traits<char>,__default_alloc_templat
e<true,0>
>> > > >
>>
>,allocator<set<basic_string<char,string_char_traits<char>,__default_alloc_tem
plate<true,0>
>>
>,less<basic_string<char,string_char_traits<char>,__default_alloc_template<tru
e,0>
>> >
>>
>,allocator<basic_string<char,string_char_traits<char>,__default_alloc_templat
e<true,0>
>> > > > > >' requested
>
> Brian
Hey, you cheated, that's been run through that utility that turns C++
gibberish error messages into nice clear clean simple ones, hasn't it?
cheers,
DaveK
--
Can't think of a witty .sigline today....