| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Kevin Regan | Date: | June 5 2009 11:01pm |
| Subject: | Why dynamic allocation for Option objects? | ||
| View as plain text | |||
I'm wondering why you do this: connection->set_option(new mysqlpp::FoundRowsOption(true)); rather than something like this: connection->set_option(mysqlpp::FoundRowsOption(true)); or mysqlpp::FoundRowsOption opt(true); connection->set_option(opt); Sincerely, Kevin Regan
