Overview
Features
Download
Documentation
Community
Add-Ons & Services

Use dot chain syntax

Discussion of ideas for features and new projects based on POCO.

Use dot chain syntax

Postby gregoire » 22 Feb 2011, 10:41

Sometimes it would be convenient to be able to use a "." chain syntax on classes that have modifiers (setXXX, setYYY, etc).

Code: Select all
void doSomethingWithAPath(const Poco::Path& path);

//Dummy example
doSomethingWithAPath(Poco::Path("C:/foo.txt").setExtension(".log").setBaseName("bar"));
gregoire
 
Posts: 30
Joined: 27 Jan 2009, 19:23
Location: Grenoble, France

Re: Use dot chain syntax

Postby guenter » 24 Feb 2011, 15:09

I like that idea.
guenter
 
Posts: 1111
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

cron