Re: [Cppcms-users] Server-Sent Events Example
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-08-14 19:04:36
|
----- Original Message ----- > From: Barbu Paul - Gheorghe <bar...@gm...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Cc: > Sent: Tuesday, August 14, 2012 6:40 PM > Subject: Re: [Cppcms-users] Server-Sent Events Example > > On 08/12/2012 11:54 PM, Artyom Beilis wrote: >> Published there: >> >> http://blog.cppcms.com/post/107 > > Why did you write > > void main(std::string /*url*/) > > and not > > void main(std::string /url) > > ? > Because I don't use URL dispatching so I don't need url variable, and this prevents warning about unused parameter with -Wall -Wextra > -- > Barbu Paul - Gheorghe > Common sense is not so common - Voltaire > Visit My GitHub profile to see my open-source projects - > https://github.com/paullik > Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |