gnuradio / pmt

pmt
GNU Lesser General Public License v3.0
11 stars 11 forks source link

pmt::cast issues #108

Open jsallay opened 10 months ago

jsallay commented 10 months ago

The pmt::cast function can do implicit cast between std::string and arithmetic types. We should not have any implicit conversions. Also it might be better to overload the cast operator for pmts, so that the user can write static_cast<float>(mypmt) rather than pmt::cast<float>(mypmt).