0_0_37871222_11695.cpp: In member function 'typename std::enable_if<std::is_same<typename Modular<U>::Type, int>::value, Modular<T> >::type& Modular<T>::operator*=(const Modular<T>&)':
0_0_37871222_11695.cpp:61:29: error: expected ')' before ':' token
asm("divl %4; \n\t" : "=a"(d), "=d"(m) : "d"(xh), "a"(xl), "r"(mod()));
^
0_0_37871222_11695.cpp:61:46: error: expression cannot be used as a function
asm("divl %4; \n\t" : "=a"(d), "=d"(m) : "d"(xh), "a"(xl), "r"(mod()));
^
0_0_37871222_11695.cpp:61:65: error: expression cannot be used as a function
asm("divl %4; \n\t" : "=a"(d), "=d"(m) : "d"(xh), "a"(xl), "r"(mod()));
^
0_0_37871222_11695.cpp: In instantiation of 'typename std::enable_if<std::is_same<typename Modular<U>::Type, int>::value, Modular<T> >::type& Modular<T>::operator*=(const Modular<T>&) [with U = std::integral_constant<int, 1000000007>; T = std::integral_constant<int, 1000000007>; typename std::enable_if<std::is_same<typename Modular<U>::Type, int>::value, Modular<T> >::type = Modular<std::integral_constant<int, 1000000007> >]':
0_0_37871222_11695.cpp:111:111: required from 'Modular<T> operator*(const Modular<T>&, U) [with T = std::integral_constant<int, 1000000007>; U = int]'
0_0_37871222_11695.cpp:169:31: required from here
0_0_37871222_11695.cpp:61:77: error: expression cannot be used as a function
asm("divl %4; \n\t" : "=a"(d), "=d"(m) : "d"(xh), "a"(xl), "r"(mod()));
^
0_0_37871222_11695.cpp:61:78: error: 'asm' was not declared in this scope
asm("divl %4; \n\t" : "=a"(d), "=d"(m) : "d"(xh), "a"(xl), "r"(mod()));
^
|