Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Cython / tests / run / cpp_template_ref_args.h
Size: Mime:
#ifndef _TEMPLATE_ARGS_H_
#define _TEMPLATE_ARGS_H_

template <typename T>
struct Bar {
    Bar & ref() { return *this; }
    const Bar & const_ref() { return *this; }
    const Bar & const_ref_const() const { return *this; }
    T value;
};

template <typename T>
struct Foo {
    int bar_value(const Bar<int> & bar) { return bar.value; }
};

#endif