kuncikehidupan Posted December 14, 2015 Report Share Posted December 14, 2015 Hello, I tried to make an array like tlm_generic_payload buffer[10] and then buffer = a, which a is another tlm_generic_payload object. However it gives me an tlm_gp.h:199 error during compilation. I would like to know whether or not several transaction (tlm_generic_payload) object can be stored in an array or C STL like queue? Thank you. Arya. Quote Link to comment Share on other sites More sharing options...
apfitch Posted December 14, 2015 Report Share Posted December 14, 2015 The TLM GP has its assignment operator and copy constructor disabled, so you can't use it with sc_vector. You'll have to use a vector of pointers to GP. Depending on what you're doing you might want to use the memory pool and the PEQs, regards Alan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.