2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-21 04:52:25 +00:00

removed parameter names (just the types are left) to

prevent unused parameter warnings with some compilers


[SVN r13218]
This commit is contained in:
Jaakko Järvi
2002-03-18 17:01:19 +00:00
parent 8cdf08bc6c
commit 9ae841ecf2

View File

@@ -40,19 +40,19 @@ template <int Code> struct selector {
// The cases cover all other placeholders
template <> struct selector<NONE> {
template<class RET, class Op, class A, class B, class C>
static RET select(Op& op, A& a, B& b, C& c) {
static RET select(Op& op, A&, B&, C&) {
return op.template ret_call<RET>();
}
};
template <> struct selector<FIRST> {
template<class RET, class Op, class A, class B, class C>
static RET select(Op& op, A& a, B& b, C& c) {
static RET select(Op& op, A& a, B&, C&) {
return op.template ret_call<RET>(a);
}
};
template <> struct selector<SECOND> {
template<class RET, class Op, class A, class B, class C>
static RET select(Op& op, A& a, B& b, C& c) {
static RET select(Op& op, A& a, B& b, C&) {
return op.template ret_call<RET>(a, b);
}
};