mirror of
https://github.com/boostorg/mysql.git
synced 2026-02-02 09:02:09 +00:00
Lowered std requirement to C++11
This commit is contained in:
@@ -48,8 +48,8 @@ using boost::asio::use_future;
|
||||
void print_employee(const boost::mysql::row& employee)
|
||||
{
|
||||
std::cout << "Employee '"
|
||||
<< employee.values()[0] << " " // first_name (type std::string_view)
|
||||
<< employee.values()[1] << "' earns " // last_name (type std::string_view)
|
||||
<< employee.values()[0] << " " // first_name (type boost::string_view)
|
||||
<< employee.values()[1] << "' earns " // last_name (type boost::string_view)
|
||||
<< employee.values()[2] << " dollars yearly\n"; // salary (type double)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user