GUDHI library
Nav
Contact
GUDHI
Project
People
Keep in touch
Partners and Funding
Related projects
They are talking about us
GUDHI in action
Etymology
Download
Licensing
Get the latest sources
Conda package
Pip package
Dockerfile
Documentation
Introduction
C++ installation manual
C++ documentation
Python installation manual
Python documentation
Utilities
Tutorials
Interfaces
Loading...
Searching...
No Matches
Null_output_iterator.h
1
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
2
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
3
* Author(s): Marc Glisse
4
*
5
* Copyright (C) 2017 Inria
6
*
7
* Modification(s):
8
* - YYYY/MM Author: Description of the modification
9
*/
10
11
#ifndef NULL_OUTPUT_ITERATOR_H_
12
#define NULL_OUTPUT_ITERATOR_H_
13
14
#include <iterator>
15
16
namespace
Gudhi {
17
19
struct
Null_output_iterator
{
20
typedef
std::output_iterator_tag iterator_category;
21
typedef
void
value_type;
22
typedef
void
difference_type;
23
typedef
void
pointer;
24
typedef
void
reference;
25
26
Null_output_iterator
& operator++() {
return
*
this
;}
27
Null_output_iterator
operator++(
int
) {
return
*
this
;}
28
struct
proxy {
29
template
<
class
T>
30
proxy& operator=(T&&){
return
*
this
;}
31
};
32
proxy operator*()
const
{
return
{};}
33
};
34
}
// namespace Gudhi
35
36
#endif
// NULL_OUTPUT_ITERATOR_H_
Gudhi::Null_output_iterator
Definition:
Null_output_iterator.h:19
GUDHI Version 3.9.0 - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. - Copyright : MIT
Generated on Thu Dec 21 2023 18:31:41 for GUDHI by
Doxygen
1.9.5