IntPtr InvalidCastException InvalidOperationException InvalidProgramException InvalidTimeZoneException IObservable<T> Iobserver<T> IParsable<TSelf> IProgress<T> IServiceProvider ISpanFormattable ISpanParsable<TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf> Lazy<T> Lazy<T,TMetadata> LdapStyleUriParse...
49 std::unique_ptr<Convert> conv_ = nullptr; 50 std::shared_ptr<CCObjectPool<PointCloud>> point_cloud_pool_ = nullptr; 51 int pool_size_ = 8; 52}; 53 54CYBER_REGISTER_COMPONENT(VelodyneConvertComponent) 55 56} // namespace velodyne 57} // namespace drivers 58} // namespace ap...
IntPtr InvalidCastException InvalidOperationException InvalidProgramException InvalidTimeZoneException IObservable<T> Iobserver<T> IParsable<TSelf> IProgress<T> IServiceProvider ISpanFormattable ISpanParsable<TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf> Lazy<T> Lazy<T,TMetadata> LdapStyleUriParse...
In the above example, we have a classSamplewith two members. We create ashared_ptrto that class and save it inp. But say there’s another function that wants ashared_ptr<int>. No problem, we can convert thestd::shared_ptr<Sample>into astd::shared_ptr<int>by reusing the control block...
IntPtr InvalidCastException InvalidOperationException InvalidProgramException InvalidTimeZoneException IObservable<T> Iobserver<T> IProgress<T> IServiceProvider Lazy<T> Lazy<T,TMetadata> LdapStyleUriParser LoaderOptimization LoaderOptimizationAttribute LocalDataStoreSlot MarshalByRefObject Math MathF MemberAccessException...
Any owned pointers should immediately be placed in a shared_ptr or unique_ptr wrapper class.My first professional C++ project was a compiler. While the compiler went well the entire code base was littered with pointers and no clues as to whether any given pointer was owned or an observer. ...
Any owned pointers should immediately be placed in a shared_ptr or unique_ptr wrapper class. My first professional C++ project was a compiler. While the compiler went well the entire code base was littered with pointers and no clues as to whether any given pointer was owned or an observer....
std::shared_ptr<Item> current; }; 225 changes: 225 additions & 0 deletions 225 include/m3u8/Parser.h Show comments View file Edit file Delete file This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file...
IntPtr InvalidCastException InvalidOperationException InvalidProgramException InvalidTimeZoneException IObservable<T> Iobserver<T> IParsable<TSelf> IProgress<T> IServiceProvider ISpanFormattable ISpanParsable<TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf> Lazy<T> Lazy<T,TMetadata> LdapStyleUriParse...
std::unique_ptr<sws_t> sws; int width, height; CUcontext cuda_ctx; }; std::shared_ptr<platf::hwdevice_t> make_hwdevice(int width, int height, platf::x11::xdisplay_t::pointer xdisplay) { if(init()) { return nullptr; } auto cuda = std::make_shared<cuda_t>(); if(cuda->in...