From 5e4181da4f2ad9b272adbe2bb4a83da6d9d38ac8 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 2 May 2022 07:20:00 +0300 Subject: Autocommit at 02.05.2022 @ 07:20 --- src/ConsoleInterface/Toolbox.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ConsoleInterface/Toolbox.cpp') diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index ccab1b7..c42e0b2 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -6,6 +6,11 @@ void read(T* storage) { std::cin >> storage; } +template +void read(T& storage) { + std::cin >> storage; +} + template void print(const T* item) { std::cout << item; -- cgit v1.3.1-23-gd82d