summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDmitry Soloviev <sleepyowl.83@gmail.com>2017-02-13 14:30:52 (GMT)
committerDmitry Soloviev <sleepyowl.83@gmail.com>2017-02-13 14:30:52 (GMT)
commit6c380ba91ae41c6d5c409a5163119318932ae2a3 (patch)
treeb6fab69aa88b68490cd249a10f6410a9c48f304e /src/doxygen.cpp
parent9e3031e5f448a91fd68f1e9753e6f7beceffc0a1 (diff)
downloadDoxygen-6c380ba91ae41c6d5c409a5163119318932ae2a3.zip
Doxygen-6c380ba91ae41c6d5c409a5163119318932ae2a3.tar.gz
Doxygen-6c380ba91ae41c6d5c409a5163119318932ae2a3.tar.bz2
Add support for std::shared_ptr
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index d3554cf..e6d655c 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -342,6 +342,7 @@ static STLInfo g_stlinfo[] =
{ "auto_ptr", 0, 0, "T", "ptr", 0, 0, FALSE, FALSE }, // deprecated
{ "smart_ptr", 0, 0, "T", "ptr", 0, 0, FALSE, FALSE }, // C++11
{ "unique_ptr", 0, 0, "T", "ptr", 0, 0, FALSE, FALSE }, // C++11
+ { "shared_ptr", 0, 0, "T", "ptr", 0, 0, FALSE, FALSE }, // C++14
{ "weak_ptr", 0, 0, "T", "ptr", 0, 0, FALSE, FALSE }, // C++11
{ "ios_base", 0, 0, 0, 0, 0, 0, FALSE, FALSE }, // C++11
{ "error_code", 0, 0, 0, 0, 0, 0, FALSE, FALSE }, // C++11
@@ -515,7 +516,7 @@ static void addSTLClasses(EntryNav *rootNav)
{
addSTLMember(classEntryNav,info->templType2,info->templName2);
}
- if (fullName=="std::auto_ptr" || fullName=="std::smart_ptr" ||
+ if (fullName=="std::auto_ptr" || fullName=="std::smart_ptr" || fullName=="std::shared_ptr" ||
fullName=="std::unique_ptr" || fullName=="std::weak_ptr")
{
Entry *memEntry = new Entry;