23 lines
767 B
C++
23 lines
767 B
C++
/*
|
||
* exercise_1.hpp
|
||
*
|
||
* Created on: 2 окт. 2021 г.
|
||
* Author: alexander
|
||
*/
|
||
|
||
#pragma once
|
||
|
||
template<template<typename, typename> class TContainer, typename TItem, typename TIterator>
|
||
void generatorInt(TContainer<TItem, TIterator> &c, const unsigned int &i);
|
||
|
||
template<template<typename, typename> class TContainer, typename TItem, typename TIterator>
|
||
void generatorFloat(TContainer<TItem, TIterator> &c, const unsigned int &i);
|
||
|
||
template<template<typename, typename> class TContainer, typename TItem, typename TIterator>
|
||
void print(const TContainer<TItem, TIterator> &c);
|
||
|
||
template<template<typename, typename> class TContainer, typename TItem, typename TIterator>
|
||
void insert_sorted(TContainer<TItem, TIterator> &c, const TItem &i);
|
||
|
||
void exercise_1();
|