tdesktop/Telegram/SourceFiles
John Preston 101d4f6444 Use std::function for base::lambda implementation.
base::lambda becomes just std::function and base::lambda_once becomes
base::unique_function - a move-only wrapper around std::function.

This is required because Visual C++ 2017 15.4.1 has a compiler bug
with static member variables of class templates, they may collide.

The std::function uses inheritance and virtual functions instead of
custom vtables done by static members of class templates used in
custom base::lambda implementation, so they work fine.
2017-11-16 07:59:08 +04:00
..
_other
base Use std::function for base::lambda implementation. 2017-11-16 07:59:08 +04:00
boxes Add context menu to info shared media. 2017-11-16 07:59:08 +04:00
calls
chat_helpers Save info members list state to memento. 2017-11-16 07:59:08 +04:00
codegen
core
data Save info members list state to memento. 2017-11-16 07:59:08 +04:00
dialogs Save info members list state to memento. 2017-11-16 07:59:08 +04:00
history Save info members list state to memento. 2017-11-16 07:59:08 +04:00
info Clear selection after forward in info shared media. 2017-11-16 07:59:08 +04:00
inline_bots
intro
lang
media
mtproto Use std::function for base::lambda implementation. 2017-11-16 07:59:08 +04:00
overview
platform
profile Remove std::any dependency (for now). 2017-11-16 07:59:08 +04:00
rpl Simplify rpl::consumer. 2017-11-16 07:59:08 +04:00
settings
storage
ui Save info members list state to memento. 2017-11-16 07:59:08 +04:00
window
apiwrap.cpp
apiwrap.h
app.cpp Use std::function for base::lambda implementation. 2017-11-16 07:59:08 +04:00
app.h
application.cpp
application.h
auth_session.cpp
auth_session.h
autoupdater.cpp
autoupdater.h
config.h
countries.h
facades.cpp
facades.h
layout.cpp
layout.h
logs.cpp
logs.h
main.cpp
mainwidget.cpp
mainwidget.h
mainwindow.cpp
mainwindow.h
mediaview.cpp
mediaview.h
messenger.cpp
messenger.h
observer_peer.cpp Save info members list state to memento. 2017-11-16 07:59:08 +04:00
observer_peer.h Save info members list state to memento. 2017-11-16 07:59:08 +04:00
overviewwidget.cpp
overviewwidget.h
passcodewidget.cpp
passcodewidget.h
qt_static_plugins.cpp
settings.cpp
settings.h
shortcuts.cpp
shortcuts.h
stdafx.cpp
stdafx.h Remove std::any dependency (for now). 2017-11-16 07:59:08 +04:00