Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

C++ - Return const unique_ptr – stackoverflow.com

I am wondering why I get an error when compiling: Const std::unique_ptr get() { return std::make_unique(10); } int main() { const std::unique_ptr value = ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot



This post first appeared on ONLINE WEB TRICKS, please read the originial post: here

Share the post

C++ - Return const unique_ptr – stackoverflow.com

×

Subscribe to Online Web Tricks

Get updates delivered right to your inbox!

Thank you for your subscription

×