Project

General

Profile

Actions

Feature #817

open

WEnvironment::getParameter() with boost::optional

Added by Kurt Roeckx almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/08/2011
Due date:
% Done:

0%

Estimated time:

Description

Hi,

Since you're using boost::optional in other places already, it would make sense to me that you use it for other things to like WEnvironment::getParameter() too.

I currently have to convert things from "const std::string *" to "boost::optionalstd::string" to save it in the database, and it looks to me like boost doesn't have an operator for that.

I'm not sure if there are other places where you return a pointer that could use the same thing.

Kurt

No data to display

Actions

Also available in: Atom PDF