The queue methods insert(), push_front(), and push_back() are defined to take scalar elements, but would be even more useful if they also accepted queues, just like the queue operators. For example: > Q.insert(i, e) is equivalent to: Q = {Q[0:i-1], e, Q[i,$]} If e was allowed to be a queue or scalar, this definition in terms of the queue operators would still be valid. /********************************************************* Chris Spear Verification Specialist Synopsys, Inc. Phone 508-263-8114 .. __@ 377 Simarano Drive Fax 508-263-8123 _`\<,_ Marlboro, MA 01752 USA Cell 508-254-7223 .. (*)/ (*) Spear_ f rom _Synopsys.com http://Chris.Spear.net/systemverilog Author of "SystemVerilog for Verification" *********************************************************/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Mar 8 05:00:58 2007
This archive was generated by hypermail 2.1.8 : Thu Mar 08 2007 - 05:01:45 PST