After a bit more reading of the documentation, my understanding is std::shared_ptr can be used but not std::experimental::filesystem because boost::filesystem is an argument to boost::dll::import_alias.
 
In light of this, can I request a revision to the Boost DLL Library.  Can boost::filesystem be replaced with either std::experimental::filesystem or std::filesystem. whichever is available on the version of the compiler being used?  The reason for this is so that there is only one version of the filesystem library to be used in your application.
 
Sent: Thursday, June 09, 2016 11:06 AM
Subject: Query on Boost DLL Library
 
Hi,
 
In Boost DLL Library factory method example it uses boost::shared_ptr and boost::filesystem, can these be replaced by std::shared_ptr and std::experimental::filesystem?
 
Kind regards,
Leo