0

I am reading source code of Halide, and the constructor of Func looks wierd, anyone knows what does these underlines mean? Thanks.

template<typename T>                                                        
HALIDE_NO_USER_CODE_INLINE explicit Func(Buffer<T> &im) : Func() {          
    (*this)(_) = im(_);                                                     
}
songyuanyao
  • 169,198
  • 16
  • 310
  • 405
D.pz
  • 161
  • 7

0 Answers0