1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <bit.hpp> #include <iostream> bit::bit(const std::string &name, const std::string &access, const std::string &pos) : mcubase(name, access), off(get(pos)) { } struct bit::off bit::get(const std::string &pos) { struct off off = {0}; std::cout << pos + "\n"; return off; }