Line data Source code
1 : /*! 2 : * \file esys/repo/result_t.cpp 3 : * \brief 4 : * 5 : * \cond 6 : * __legal_b__ 7 : * 8 : * Copyright (c) 2023 Michel Gillet 9 : * Distributed under the MIT License. 10 : * (See accompanying file LICENSE.txt or 11 : * copy at https://opensource.org/licenses/MIT) 12 : * 13 : * __legal_e__ 14 : * \endcond 15 : * 16 : */ 17 : 18 : #include "esys/repo/esysrepo_prec.h" 19 : #include "esys/repo/result_t.h" 20 : 21 : #include <iomanip> 22 : 23 : namespace esys::repo 24 : { 25 : 26 : template<> 27 15 : ESYSREPO_API void PrintResult_t<bool>(std::ostream &os, const Result_t<bool> &result) 28 : { 29 15 : os << "Return value :" << std::endl; 30 15 : os << " type : " << typeid(bool).name() << std::endl; 31 15 : os << " value : " << std::boolalpha << result.get() << std::endl; 32 15 : } 33 : 34 : } // namespace esys::repo