Hacker News new | ask | show | jobs
by feverzsj 716 days ago
To make it really declarative and exception safe, you need to wrap widget creation in function and return smart pointer.