StandardOutputWriter.cpp 427 B

1234567891011121314151617
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-06
  6. * Changed: 2020-11-06
  7. *
  8. * */
  9. #include <iostream>
  10. #include "../../../include/ls_std/io/StandardOutputWriter.hpp"
  11. bool ls_std::StandardOutputWriter::write(const ls_std::byte_field &_data)
  12. {
  13. std::cout << _data << std::endl;
  14. return !_data.empty();
  15. }