Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-27 07:26:57


Markus Schöpflin <markus.schoepflin_at_[hidden]> writes:

> Rodolfo Schulz de Lima wrote:
>
>> diff -ur boost/date_time/date_names_put.hpp /usr/include/boost-1_32/boost/date_time/date_names_put.hpp
>> --- boost/date_time/date_names_put.hpp 2004-07-17 19:20:18.000000000 -0300
>> +++ /usr/include/boost-1_32/boost/date_time/date_names_put.hpp 2004-08-23 17:35:05.000000000 -0300
>> @@ -142,10 +142,10 @@
>> default: {} //quiet compilers that want all cases covered here (eg: gcc 3.1)
>> }
>> }
>> - virtual void do_put_weekday_short(iter_type& oitr, weekday_enum wd) const
>> + virtual void do_put_weekday_short(iter_type&, weekday_enum) const
>> {
>> }
>> - virtual void do_put_weekday_long(iter_type& oitr, weekday_enum wd) const
>> + virtual void do_put_weekday_long(iter_type&, weekday_enum) const
>> {
>> }
>> virtual bool do_has_date_sep_chars() const
>
> Aren't there compiler that require the variable name?

No, I don't think so. It's not like this is a new C++ feature -- you
can do it in 'C'.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk