remove harmful createPIPair()

This commit is contained in:
2024-05-06 19:22:22 +03:00
parent 491d89f117
commit d4a024ea75
2 changed files with 49 additions and 18 deletions

View File

@@ -124,19 +124,6 @@ inline PICout operator<<(PICout s, const PIPair<Type0, Type1> & v) {
}
//! \~english Creates \a PIPair object, deducing the target type from the types of arguments.
//! \~russian Создает \a PIPair выводя типы из аргументов.
//! \~\details
//! \~\code
//! auto p = createPIPair(1, 'a');
//! piCout << p; // (1, a)
//! \endcode
template<class T1, class T2>
PIPair<T1, T2> createPIPair(const T1 & f, const T2 & s) {
return PIPair<T1, T2>(f, s);
}
//! \~english Creates \a PIPair object, deducing the target type from the types of arguments.
//! \~russian Создает \a PIPair выводя типы из аргументов.
//! \sa \a createPIPair()