File: bug1335.cpp

package info (click to toggle)
range-v3 0.12.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,620 kB
  • sloc: cpp: 76,839; xml: 226; sh: 89; python: 34; makefile: 16; perl: 15
file content (14 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <vector>
#include <range/v3/action/sort.hpp>

template<typename A, typename B>
constexpr auto operator-(A a, B)
{
    return a;
}

int main()
{
    std::vector<int> data;
    data |= ranges::actions::sort;
}