Skip to content

Commit

Permalink
readme and setup files
Browse files Browse the repository at this point in the history
  • Loading branch information
marcmo committed Aug 18, 2015
1 parent d2794ef commit 9f18bdc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .clang-format
Expand Up @@ -6,9 +6,9 @@ AlignEscapedNewlinesLeft: false
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: false
Expand All @@ -23,11 +23,11 @@ IndentCaseLabels: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakBeforeFirstCallParameter: 20
PenaltyBreakComment: 60
PenaltyBreakString: 1000
PenaltyBreakFirstLessLess: 120
PenaltyExcessCharacter: 1000000
PenaltyExcessCharacter: 10
PenaltyReturnTypeOnItsOwnLine: 60
PointerBindsToType: false
SpacesBeforeTrailingComments: 1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
@@ -1 +1,3 @@
BuildDir
site/public/
.tup/
14 changes: 9 additions & 5 deletions README.md
Expand Up @@ -3,16 +3,16 @@
delegates
=========

small delegate implementation. can be used as header-only library.
Small delegate implementation. Can be used as header-only library.
To install, just drop in the Delegate.h and include it.

To build & run the examples, you can do a

$ make test

## Why would I want delegates?
## Why would I use delegates?

This implementation is just a tiny library that is
This implementation is just a tiny header-only library that is

* Fast
* Portable C++
Expand Down Expand Up @@ -66,7 +66,8 @@ s.notifyDelegate(42);

## Update

now works also with const member functions!
* now works also with const member functions!
* no macros needed anymore!

## Usage

Expand Down Expand Up @@ -110,5 +111,8 @@ Further examples can be found in the test directory. To build and execute the te
## Credits
inspired by the [The Impossibly Fast C++ Delegates](http://www.codeproject.com/Articles/11015/The-Impossibly-Fast-C-Delegates) and [Lightweight Generic C++ Callbacks (or, Yet Another Delegate Implementation)](http://www.codeproject.com/Articles/136799/Lightweight-Generic-C-Callbacks-or-Yet-Another-Del)
inspired by
* the [The Impossibly Fast C++ Delegates](http://www.codeproject.com/Articles/11015/The-Impossibly-Fast-C-Delegates)
* and [Lightweight Generic C++ Callbacks (or, Yet Another Delegate Implementation)](http://www.codeproject.com/Articles/136799/Lightweight-Generic-C-Callbacks-or-Yet-Another-Del)

0 comments on commit 9f18bdc

Please sign in to comment.