Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc: In substitution of 'template<class T> using ref = T& [with T = void]':
prog.cc:6:26:   required by substitution of 'template<class A> template<template<template<class> class F> template<class A> template<class> class F> using apply = F<void> [with F = ref; A = int]'
prog.cc:9:18:   required from here
prog.cc:1:33: error: forming reference to void
 template<class T> using ref = T&;
                                 ^
Exit Code:
1