This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <utility> | |
#include <boost/fusion/container/map.hpp> | |
#include <boost/fusion/sequence/intrinsic/at_key.hpp> | |
#include <boost/fusion/sequence/intrinsic/value_at_key.hpp> | |
#include <boost/optional.hpp> | |
#include <boost/signals2.hpp> | |
#include <boost/utility/in_place_factory.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tested with Clang 3.4, GCC 4.8.2. | |
#include <iostream> | |
#include <string> | |
template<typename T> class Foo { | |
public: | |
std::string Method(); | |
static std::string StaticMethod(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cassert> | |
#include <memory> // std::addressof | |
template<typename ResourceTag, typename ResourceType> class Resource { | |
public: | |
Resource() noexcept = default; | |
explicit Resource(ResourceType resource) noexcept : resource_{ resource } {} | |
Resource(const Resource&) = delete; | |
Resource& operator=(const Resource&) = delete; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="AfterBuild"> | |
<!-- Set inputs & outputs for CreateLanguageTransforms. --> | |
<ItemGroup> | |
<MsiForTransform | |
Include="$(OutputDir)\%(CultureGroup.OutputFolder)$(OutputFullName)" | |
Exclude="$(OutputDir)\en-US_\$(OutputFullName)" | |
/> | |
<Transform | |
Include="$(OutputDir)\%(CultureGroup.OutputFolder)%(CultureGroup.Identity).mst" | |
Exclude="$(OutputDir)\en-US_\%(CultureGroup.Identity).mst" |