Files
WebCC/examples/book_client/book.cc
T

12 lines
247 B
C++

#include "book.h"
#include <iostream>
const Book kNullBook{};
std::ostream& operator<<(std::ostream& os, const Book& book) {
os << "{ " << book.id << ", " << book.title << ", " << book.price << ", "
<< book.photo << " }";
return os;
}