fix some deprecated methods
This commit is contained in:
parent
04d004b959
commit
1c7a644161
@ -3,7 +3,7 @@ project(
|
|||||||
'hack',
|
'hack',
|
||||||
'cpp',
|
'cpp',
|
||||||
version : '0.0.1',
|
version : '0.0.1',
|
||||||
default_options : ['cpp_std=c++2a']
|
default_options : ['cpp_std=c++20']
|
||||||
)
|
)
|
||||||
|
|
||||||
add_project_arguments (
|
add_project_arguments (
|
||||||
|
@ -5,8 +5,9 @@
|
|||||||
namespace hack::iterators
|
namespace hack::iterators
|
||||||
{
|
{
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class associative_ostream_iterator : public std::iterator<std::output_iterator_tag, void, void, void, void>
|
class associative_ostream_iterator
|
||||||
{
|
{
|
||||||
|
using iterator_category = std::output_iterator_tag;
|
||||||
using traits = std::char_traits<char>;
|
using traits = std::char_traits<char>;
|
||||||
using ostream_type = std::basic_ostream<char, traits>;
|
using ostream_type = std::basic_ostream<char, traits>;
|
||||||
|
|
||||||
|
@ -5,8 +5,9 @@
|
|||||||
namespace hack::iterators
|
namespace hack::iterators
|
||||||
{
|
{
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class sequence_ostream_iterator : public std::iterator<std::output_iterator_tag, void, void, void, void>
|
class sequence_ostream_iterator
|
||||||
{
|
{
|
||||||
|
using iterator_category = std::output_iterator_tag;
|
||||||
using traits = std::char_traits<char>;
|
using traits = std::char_traits<char>;
|
||||||
using ostream_type = std::basic_ostream<char, traits>;
|
using ostream_type = std::basic_ostream<char, traits>;
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
namespace hack::matrix_utils
|
namespace hack::matrix_utils
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user