Skip to content

Commit

Permalink
Fix docuementation
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Dec 6, 2024
1 parent 924909e commit b68b4d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
14 changes: 6 additions & 8 deletions src/xtd.core/include/xtd/console.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,12 +461,11 @@ namespace xtd {
template<typename arg_t>
static void write(arg_t&& value) {write_(xtd::string::format("{}", value));}

/// @brief Writes the text representation of the specified value to the standard output stream.
/// @tparam arg_t The type of the value to write.
/// @param value The value to write,
/// @cond
template<typename type_t>
static void write(std::initializer_list<type_t>&& il) {write_(xtd::string::format("{}", il));}

/// @endcond

/// @brief Writes the text representation of the specified list of values to the standard output stream using the specified format information.
/// @tparam ...args_t Types of the values to write.
/// @param fmt A composite format string.
Expand All @@ -483,12 +482,11 @@ namespace xtd {
template<typename arg_t>
static void write_line(arg_t&& value) {write_line_(xtd::string::format("{}", value));}

/// @brief Writes the text representation of the specified value, followed by the current line terminator, to the standard output stream.
/// @tparam arg_t The type of the value to write.
/// @param value The value to write,
/// @cond
template<typename type_t>
static void write_line(const std::initializer_list<type_t>& il) {write_line_(xtd::string::format("{}", il));}

/// @endcond

/// @brief Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
/// @tparam ...args_t Types of the values to write.
/// @param fmt A composite format string.
Expand Down
7 changes: 3 additions & 4 deletions src/xtd.core/include/xtd/println.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ namespace xtd {
template<typename arg_t>
void println(arg_t&& value) {xtd::console::write_line(xtd::string::format("{}", value));}

/// @brief Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
/// @tparam ...args_t Types of the values to write.
/// @param values Values to write,
/// @cond
template<typename type_t>
void println(const std::initializer_list<type_t>& il) {xtd::console::write_line(xtd::string::format("{}", il));}

/// @endcond

/// @brief Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
/// @tparam ...args_t Types of the values to write.
/// @param fmt A composite format string.
Expand Down

0 comments on commit b68b4d9

Please sign in to comment.