cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ineev
Newbie
Newbie
903 Views
Registered: ‎09-06-2017

please explain syntax in c++ mentioned below for c++ in high level synthesis

i am working on c++ in hls and  i encountered one syntax in header file named ap_private.h in vivado HLS as below.

 

 

  operator RetValType() const {

                                                 return get_VAL();

                                              }

 

so here they used operator as return type and being c++ programmer i have not came across such syntax in cpp where operator key word is used as return type so please explain why and how it is used here

 

 

 

 

0 Kudos
0 Replies