Skip to contentSkip to conversation

boost: add contract lib

PATCH In review [email protected] 2 participants 3 messages May 11, 2018 – May 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boost: add contract lib

From: Mingli Yu <[email protected]>

Add the contract lib which implements contract programming (a.k.a., Design by Contract or DbC) [1] for the C++ programming language.

---
 meta/recipes-support/boost/boost.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/boost/boost.inc +1 -0
index b447897a0c..6984bee777 100644
@@ -9,6 +9,7 @@ BOOST_LIBS = "\
 	atomic \
 	chrono \
 	container \
+	contract \
 	date_time \
 	exception \
 	filesystem \
Signature · 1 line
2.11.0
#1 lore raw
Quoted 5 lines · On 2018-05-11 02:23 AM, [email protected] wrote:

From: Mingli Yu <[email protected]>

Add the contract lib which implements contract programming (a.k.a., Design by Contract or DbC) [1] for the C++ programming language.

Please clean up the long log.
You should write something like:

Add the contract lib which implements contract programming (a.k.a., Design by Contract) for the C++ programming language.

I don't know what the [1] was about.
Ah, it's a reference from this documentation:
https://www.boost.org/doc/libs/develop/libs/contract/doc/html/index.html

For anyone reading, but not following links:

[1] Design by Contract (DbC) is a registered trademark of the Eiffel Software company and it was first introduced by the Eiffel programming language (see [Meyer97]).

../Randy

Quoted 19 lines
---
  meta/recipes-support/boost/boost.inc | 1 +
  1 file changed, 1 insertion(+)
meta/recipes-support/boost/boost.inc +1 -0
index b447897a0c..6984bee777 100644
@@ -9,6 +9,7 @@ BOOST_LIBS = "\
  	atomic \
  	chrono \
  	container \
+	contract \
  	date_time \
  	exception \
  	filesystem \
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
author
#2 lore raw
Quoted 17 lines · Randy MacLeod
Quoted 5 lines · On 2018-05-11 02:23 AM, [email protected] wrote:

From: Mingli Yu <[email protected]>

Add the contract lib which implements contract programming (a.k.a., Design by Contract or DbC) [1] for the C++ programming language.

Please clean up the long log.
You should write something like:

Add the contract lib which implements contract programming (a.k.a., Design by Contract) for the C++ programming language.

I don't know what the [1] was about.
Ah, it's a reference from this documentation:
https://www.boost.org/doc/libs/develop/libs/contract/doc/html/index.html

Quoted 5 lines

For anyone reading, but not following links:

[1] Design by Contract (DbC) is a registered trademark of the Eiffel Software company and it was first introduced by the Eiffel programming language (see [Meyer97]).

Good catch!
Thanks Randy! I will update the commit message altogether with some other changes next time as it has been already merged.

Thanks,

Quoted 26 lines

../Randy

Quoted 20 lines
---
  meta/recipes-support/boost/boost.inc | 1 +
  1 file changed, 1 insertion(+)
meta/recipes-support/boost/boost.inc +1 -0
index b447897a0c..6984bee777 100644
@@ -9,6 +9,7 @@ BOOST_LIBS = "\
      atomic \
      chrono \
      container \
+    contract \
      date_time \
      exception \
      filesystem \