Commits


Jin Shang authored and GitHub committed b2871bb4d80
ARROW-17823: [C++] Prefer std::make_shared/std::make_unique over constructor with new (#14216) Advantage: readabilty, exception safety and efficiency(only for shared_ptr). Cases that don't apply: When calling a private/protected constructor within class member function, make_shared/unique can't work. Authored-by: Jin Shang <shangjin1997@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>