improve documentation of custom singleton creation through an example
authorLaurent Demailly <ldemailly@fb.com>
Thu, 20 Oct 2016 23:42:56 +0000 (16:42 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 20 Oct 2016 23:53:39 +0000 (16:53 -0700)
commitcbec2f20f4a6ca636edd54c0a931ca019621c92d
treee89b35349fddbc67af985e8d30338242bfc74f18
parentd8d93ebf4ea53c974cdb9599c3fa3c1f20781e6c
improve documentation of custom singleton creation through an example

Summary:
improve documentation of custom singleton creation through an example
(from fbcode SIOF thread suggestion)

Reviewed By: yfeldblum

Differential Revision: D4053322

fbshipit-source-id: e9c2ef3d1ef43d52c0bf0a601d94c017047a23a3
folly/Singleton.h
folly/test/SingletonTest.cpp