sc_vector.hh (13322:7391057615bd) | sc_vector.hh (13381:cf853277ac3f) |
---|---|
1/***************************************************************************** 2 3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 4 more contributor license agreements. See the NOTICE file distributed 5 with this work for additional information regarding copyright ownership. 6 Accellera licenses this file to you under the Apache License, Version 2.0 7 (the "License"); you may not use this file except in compliance with the 8 License. You may obtain a copy of the License at --- 572 unchanged lines hidden (view full) --- 581 582 while (from != end() && first != last) 583 (*from++)(*first++); 584 return from; 585 } 586 587 private: 588 // Disabled | 1/***************************************************************************** 2 3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 4 more contributor license agreements. See the NOTICE file distributed 5 with this work for additional information regarding copyright ownership. 6 Accellera licenses this file to you under the Apache License, Version 2.0 7 (the "License"); you may not use this file except in compliance with the 8 License. You may obtain a copy of the License at --- 572 unchanged lines hidden (view full) --- 581 582 while (from != end() && first != last) 583 (*from++)(*first++); 584 return from; 585 } 586 587 private: 588 // Disabled |
589 sc_vector(const sc_vector &) : sc_vector_base() {} 590 sc_vector &operator = (const sc_vector &) { return *this; } | 589 sc_vector(const sc_vector &); 590 sc_vector &operator = (const sc_vector &); |
591 592 void 593 clear() 594 { 595 for (auto obj: objs) 596 delete static_cast<T *>(obj); 597 } 598 --- 190 unchanged lines hidden --- | 591 592 void 593 clear() 594 { 595 for (auto obj: objs) 596 delete static_cast<T *>(obj); 597 } 598 --- 190 unchanged lines hidden --- |