mirror of
https://github.com/boostorg/mysql.git
synced 2026-01-28 07:22:26 +00:00
Lowered std requirement to C++11
This commit is contained in:
@@ -57,8 +57,8 @@ using boost::mysql::error_info;
|
||||
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