fl <
rxj...@gmail.com> writes:
> I read the below code snippet on-line:
>
> ''''''''''''''''''''
> #include <gr_sync_block.h>
> class my_block_cc;
> typedef boost::shared_ptr<6829_my_block_cc> 6829_my_block_cc_sptr;
> 6829_my_block_cc_sptr 6829_make_my_block_cc();
That seems corrupt; C++ does not support identifiers that start
with digits, like 6829_my_block_cc.
If you remove each "6829_", then it looks more sensible,
and the function you asked about becomes a constructor.
http://zoo.cs.yale.edu/classes/cs434/cs434-2012-fall/lectures/backup/6-gnuradio-jh.ppt
page 25 contains similar code, except it uses "cs434_" instead of "6829_".
That code doesn't work either.