#include <string>
#include <vector>
#include <iostream>
#include <initializer_list>
struct Deck
{
Deck(std::initializer_list<std::string> init_list) : _deck(init_list.begin(), init_list.end()) {}
const std::vector<std::string>& get() const { return _deck; }
private:
std::vector<std::string> _deck;
};
int main()
{
Deck d({ "rock", "paper", "scissors" });
for (auto card : d.get())
std::cout << card << '\n';
}
I2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW5pdGlhbGl6ZXJfbGlzdD4KCnN0cnVjdCBEZWNrCnsKICAgIERlY2soc3RkOjppbml0aWFsaXplcl9saXN0PHN0ZDo6c3RyaW5nPiBpbml0X2xpc3QpIDogX2RlY2soaW5pdF9saXN0LmJlZ2luKCksIGluaXRfbGlzdC5lbmQoKSkge30KCiAgICBjb25zdCBzdGQ6OnZlY3RvcjxzdGQ6OnN0cmluZz4mIGdldCgpIGNvbnN0IHsgcmV0dXJuIF9kZWNrOyB9CnByaXZhdGU6CiAgICBzdGQ6OnZlY3RvcjxzdGQ6OnN0cmluZz4gX2RlY2s7Cn07CgppbnQgbWFpbigpCnsKICAgIERlY2sgZCh7ICJyb2NrIiwgInBhcGVyIiwgInNjaXNzb3JzIiB9KTsKCiAgICBmb3IgKGF1dG8gY2FyZCA6IGQuZ2V0KCkpCiAgICAgICAgc3RkOjpjb3V0IDw8IGNhcmQgPDwgJ1xuJzsKfQ==