Move output_range to format.h
This commit is contained in:
1 parent
522de7b55d
commit
1a4e892765
2 files changed
+16
-16
No files matched your search
@@ -809,22 +809,6 @@ inline Container &get_container(std::back_insert_iterator<Container> it) {
|
||||
}
|
||||
} // namespace internal
|
||||
|
||||
template <typename OutputIt, typename T = typename OutputIt::value_type>
|
||||
class output_range {
|
||||
private:
|
||||
OutputIt it_;
|
||||
|
||||
// Unused yet.
|
||||
typedef void sentinel;
|
||||
sentinel end() const;
|
||||
|
||||
public:
|
||||
typedef T value_type;
|
||||
|
||||
explicit output_range(OutputIt it): it_(it) {}
|
||||
OutputIt begin() const { return it_; }
|
||||
};
|
||||
|
||||
// Formatting context.
|
||||
template <typename OutputIt, typename Char>
|
||||
class basic_context :
|
||||
|
||||
Reference in new issue
Block a user