Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarfovich committed Jul 31, 2024
1 parent 07d9d7b commit 939ea62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HW4/include/print_ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
#include <vector>
#include <climits>

/// Function print_ip prints a single value.
///
/// This is an overloaded function that prints value of integral types.
/// @param v Integer value to print
template<typename T, std::enable_if_t<std::is_integral_v<T>, bool> = false>
void print_ip(const T& v)
{
Expand Down

0 comments on commit 939ea62

Please sign in to comment.